POST api/Masters/AddUser

Request Information

URI Parameters

None.

Body Parameters

UserRequest
NameDescriptionTypeAdditional information
UserID

integer

None.

Email

string

None.

PasswordBCrypt

string

None.

UserName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "Email": "sample string 2",
  "PasswordBCrypt": "sample string 3",
  "UserName": "sample string 4"
}

application/xml, text/xml

Sample:
<MastersController.UserRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Xamarin_GPS_API.Controllers">
  <Email>sample string 2</Email>
  <PasswordBCrypt>sample string 3</PasswordBCrypt>
  <UserID>1</UserID>
  <UserName>sample string 4</UserName>
</MastersController.UserRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Message

string

None.

Status

integer

None.

UserID

integer

None.

UserName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": 2,
  "UserID": 3,
  "UserName": "sample string 4"
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Xamarin_GPS_API.Models">
  <Message>sample string 1</Message>
  <Status>2</Status>
  <UserID>3</UserID>
  <UserName>sample string 4</UserName>
</Response>