PUT api/users/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | decimal number |
Required |
Body Parameters
users| Name | Description | Type | Additional information |
|---|---|---|---|
| id_user | decimal number |
None. |
|
| username | string |
None. |
|
| password | string |
None. |
|
| access_unit | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id_user": 1.0,
"username": "sample string 2",
"password": "sample string 3",
"access_unit": 1
}
text/html
Sample:
{"id_user":1.0,"username":"sample string 2","password":"sample string 3","access_unit":1}
application/xml, text/xml
Sample:
<users xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/setadEskan"> <access_unit>1</access_unit> <id_user>1</id_user> <password>sample string 3</password> <username>sample string 2</username> </users>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.