PUT api/Users
Request Information
URI Parameters
None.
Body Parameters
User| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
None. |
|
| name | string |
None. |
|
| LimitAmount | decimal number |
None. |
|
| LimitCabin | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "1106e75d-c371-4c43-923b-34eb851ed278",
"name": "sample string 2",
"LimitAmount": 3.0,
"LimitCabin": 4
}
application/xml, text/xml
Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMS.Models"> <LimitAmount>3</LimitAmount> <LimitCabin>4</LimitCabin> <id>1106e75d-c371-4c43-923b-34eb851ed278</id> <name>sample string 2</name> </User>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |