PUT api/Users/StateUser
Request Information
URI Parameters
None.
Body Parameters
User| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| string |
String length: inclusive between 0 and 100 |
||
| Password | string |
String length: inclusive between 0 and 200 |
|
| Active | boolean |
None. |
|
| VerificationCode | string |
String length: inclusive between 0 and 8 |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Email": "sample string 2",
"Password": "sample string 3",
"Active": true,
"VerificationCode": "sample string 5"
}
application/xml, text/xml
Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZBINVENTORY.MODELS.DB"> <Active>true</Active> <Email>sample string 2</Email> <Id>1</Id> <Password>sample string 3</Password> <VerificationCode>sample string 5</VerificationCode> </User>
application/x-www-form-urlencoded
Sample:
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. |