POST api/User/ExtendUser

Request Information

URI Parameters

None.

Body Parameters

UserInfoModel
NameDescriptionTypeAdditional information
Email

string

Required

ShedId

integer

Required

Range: inclusive between 1 and 32767

AirlineId

integer

None.

Level

integer

None.

LocationId

integer

None.

Role

string

Required

Request Formats

application/json, text/json

Sample:
{
  "Email": "sample string 1",
  "ShedId": 2,
  "AirlineId": 1,
  "Level": 1,
  "LocationId": 1,
  "Role": "sample string 3"
}

application/xml, text/xml

Sample:
<UserInfoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cargo.Data.Model">
  <AirlineId>1</AirlineId>
  <Email>sample string 1</Email>
  <Level>1</Level>
  <LocationId>1</LocationId>
  <Role>sample string 3</Role>
  <ShedId>2</ShedId>
</UserInfoModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.