POST api/User

Request Information

URI Parameters

None.

Body Parameters

User
NameDescriptionTypeAdditional information
UserID

integer

None.

ExternalID

string

None.

Title

string

None.

FirstName

string

None.

LastName

string

None.

Email

string

None.

PhoneNumber

string

None.

UserName

string

None.

Password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "ExternalID": "sample string 2",
  "Title": "sample string 3",
  "FirstName": "sample string 4",
  "LastName": "sample string 5",
  "Email": "sample string 6",
  "PhoneNumber": "sample string 7",
  "UserName": "sample string 8",
  "Password": "sample string 9"
}

application/xml, text/xml

Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ISI.Cloud.Common">
  <Email>sample string 6</Email>
  <ExternalID>sample string 2</ExternalID>
  <FirstName>sample string 4</FirstName>
  <LastName>sample string 5</LastName>
  <Password>sample string 9</Password>
  <PhoneNumber>sample string 7</PhoneNumber>
  <Title>sample string 3</Title>
  <UserID>1</UserID>
  <UserName>sample string 8</UserName>
</User>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'User'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>