POST api/AdminUser/Save

Request Information

URI Parameters

None.

Body Parameters

AdminUserAddDto
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Email

string

None.

Phone

string

None.

RoleId

integer

None.

FirmId

integer

None.

CompanyId

integer

None.

Role

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Email": "sample string 3",
  "Phone": "sample string 4",
  "RoleId": 5,
  "FirmId": 1,
  "CompanyId": 1,
  "Role": "sample string 6"
}

application/xml, text/xml

Sample:
<AdminUserAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BreakProtection.Common.Dto">
  <CompanyId>1</CompanyId>
  <Email>sample string 3</Email>
  <FirmId>1</FirmId>
  <Id>1</Id>
  <Name>sample string 2</Name>
  <Phone>sample string 4</Phone>
  <Role>sample string 6</Role>
  <RoleId>5</RoleId>
</AdminUserAddDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Status

integer

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Message": "sample string 2",
  "Data": {}
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BreakProtection.Common.Dto">
  <Data />
  <Message>sample string 2</Message>
  <Status>1</Status>
</Response>