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": "0dad24c6-064b-41fb-b0f9-2e933c70b08c",
"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>0dad24c6-064b-41fb-b0f9-2e933c70b08c</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. |