PUT api/users/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
UsersUpdateDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| name | string |
Required String length: inclusive between 0 and 250 |
|
| is_active | boolean |
Required |
|
| string |
Required String length: inclusive between 0 and 250 |
||
| user_type_id | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"is_active": true,
"email": "sample string 3",
"user_type_id": 4
}
application/xml, text/xml
Sample:
<UsersUpdateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.Models.DTO"> <email>sample string 3</email> <is_active>true</is_active> <name>sample string 1</name> <user_type_id>4</user_type_id> </UsersUpdateDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.