PUT api/User/PutOne/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
UserModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| UserName | string |
None. |
|
| PassWord | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"UserName": "sample string 2",
"PassWord": "sample string 3"
}
application/xml, text/xml
Sample:
<UserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YinxinCloud.Models"> <Id>1</Id> <PassWord>sample string 3</PassWord> <UserName>sample string 2</UserName> </UserModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>