POST zd/Users/RegisterUser

用户注册

Request Information

URI Parameters

None.

Body Parameters

User对象

ZD_Users
NameDescriptionTypeAdditional information
ID

integer

Required

UserName

string

None.

NickName

string

None.

Sex

integer

None.

Birthday

date

None.

Password

string

Required

Email

string

Required

CardId

string

None.

Tel

string

None.

Mobile

string

Required

Status

integer

Required

CreateTime

date

Required

UpdateTime

date

Required

OpenID

string

None.

Type

integer

None.

PasswordQuestions

integer

None.

PasswordAnswer

string

None.

HeadImg

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "UserName": "sample string 2",
  "NickName": "sample string 3",
  "Sex": 4,
  "Birthday": "2019-05-24 11:05:39",
  "Password": "sample string 6",
  "Email": "sample string 7",
  "CardId": "sample string 8",
  "Tel": "sample string 9",
  "Mobile": "sample string 10",
  "Status": 11,
  "CreateTime": "2019-05-24 11:05:39",
  "UpdateTime": "2019-05-24 11:05:39",
  "OpenID": "sample string 14",
  "Type": 15,
  "PasswordQuestions": 16,
  "PasswordAnswer": "sample string 17",
  "HeadImg": "sample string 18"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

application/x-protobuf

Sample:


application/x-msgpack

Sample:

Sample not available.

Response Information

Resource Description

ApiResultModel
NameDescriptionTypeAdditional information
Code

integer

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Message": "sample string 2",
  "Data": {}
}

application/x-msgpack

Sample:

Sample not available.