POST AddUser

Request Information

URI Parameters

None.

Body Parameters

UserDTO
NameDescriptionTypeAdditional information
UserName

string

None.

Loginpwd

string

None.

Mobile

string

None.

VerificationCode

string

None.

IdentityType

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Loginpwd": "sample string 2",
  "Mobile": "sample string 3",
  "VerificationCode": "sample string 4",
  "IdentityType": 5
}

application/xml, text/xml

Sample:
<UserDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zs.Ylx.Resources.Entity.DTO">
  <IdentityType>5</IdentityType>
  <Loginpwd>sample string 2</Loginpwd>
  <Mobile>sample string 3</Mobile>
  <UserName>sample string 1</UserName>
  <VerificationCode>sample string 4</VerificationCode>
</UserDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UserDTO'.

Response Information

Resource Description

None.