POST api/User/Create

Request Information

URI Parameters

None.

Body Parameters

UserInfo
NameDescriptionTypeAdditional information
MMUserId

integer

None.

Username

string

None.

Password

string

None.

FirstName

string

None.

LastName

string

None.

Email

string

None.

LocationId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "MMUserId": 1,
  "Username": "sample string 2",
  "Password": "sample string 3",
  "FirstName": "sample string 4",
  "LastName": "sample string 5",
  "Email": "sample string 6",
  "LocationId": 7
}

application/xml, text/xml

Sample:
<UserInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Virtuoso.Domain">
  <Email>sample string 6</Email>
  <FirstName>sample string 4</FirstName>
  <LastName>sample string 5</LastName>
  <LocationId>7</LocationId>
  <MMUserId>1</MMUserId>
  <Password>sample string 3</Password>
  <Username>sample string 2</Username>
</UserInfo>

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 'UserInfo'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.