PUT api/User/PutOne/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

UserModel
NameDescriptionTypeAdditional 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:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>