POST api/common/findpwd

找回密码

默认返回json数据,若要返回xml格式数据在访问地址后加上xml=true

Request 信息

URI 参数

None.

Body 参数

参数

FindPwdModel
名称说明数据类型附加信息
Account

账号

string

Required

Password

密码

string

Required

Max length: 20

Min length: 6

Code

手机验证码

string

Required

Max length: 4

Mobile

手机号

string

Required

Matching regular expression pattern: ^1[3|5|8|4|7][0-9]{9}$

Token

token

string

Required

Platform

string

None.

Request 数据格式

application/json, text/json

示例:
{
  "Account": "sample string 1",
  "Password": "sample string 2",
  "Code": "sample string 3",
  "Mobile": "sample string 4",
  "Token": "sample string 5",
  "Platform": "sample string 6"
}

application/xml, text/xml

示例:
<FindPwdModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.Common">
  <Platform xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 6</Platform>
  <Token xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 5</Token>
  <Account>sample string 1</Account>
  <Code>sample string 3</Code>
  <Mobile>sample string 4</Mobile>
  <Password>sample string 2</Password>
</FindPwdModel>

application/x-www-form-urlencoded

示例:

Response 信息

输出返回说明

结果

FindPwdResult
名称说明数据类型附加信息
ErrorCode

API错误码

APIErrorCode

None.

Msg

附带消息

string

None.

Response 返回数据格式

application/json, text/json

示例:
{
  "ErrorCode": 0,
  "Msg": "sample string 1"
}

application/xml, text/xml

示例:
<FindPwdResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.Common">
  <ErrorCode xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">SUCCESS</ErrorCode>
  <Msg xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 1</Msg>
</FindPwdResult>