POST api/member/retrievepwd/sendcode
找回密码发送验证码
Request Information
URI Parameters
None.
Body Parameters
MemberRetrievePwdSendCodRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| username | string |
None. |
|
| phone_number |
手机号码 |
string |
None. |
| img_code |
图片验证码 |
string |
None. |
| client |
客户端唯一标识 |
globally unique identifier |
None. |
| terminal |
终端 |
Terminal |
None. |
| time_stamp |
时间戳 |
string |
None. |
| random |
随机数 |
integer |
None. |
| sign |
签名 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"username": "sample string 1",
"phone_number": "sample string 2",
"img_code": "sample string 3",
"client": "c20b9c50-3565-4037-87b8-4b88c965231a",
"terminal": 1,
"time_stamp": "sample string 5",
"random": 6,
"sign": "sample string 7"
}
application/xml, text/xml
Sample:
<MemberRetrievePwdSendCodRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChinaTrainTickets.Web.Areas.webApi.Models"> <random xmlns="http://schemas.datacontract.org/2004/07/ChinaTrainTickets.Web.Models">6</random> <sign xmlns="http://schemas.datacontract.org/2004/07/ChinaTrainTickets.Web.Models">sample string 7</sign> <terminal xmlns="http://schemas.datacontract.org/2004/07/ChinaTrainTickets.Web.Models">WEBPAGEEnum</terminal> <time_stamp xmlns="http://schemas.datacontract.org/2004/07/ChinaTrainTickets.Web.Models">sample string 5</time_stamp> <client>c20b9c50-3565-4037-87b8-4b88c965231a</client> <img_code>sample string 3</img_code> <phone_number>sample string 2</phone_number> <username>sample string 1</username> </MemberRetrievePwdSendCodRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResultOfMemberSendCodeResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| message | string |
None. |
|
| data | MemberSendCodeResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"message": "sample string 2",
"data": {
"state": "sample string 1"
}
}
application/xml, text/xml
Sample:
<ApiResultOfMemberSendCodeResponseWjQ9Dvjw xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChinaTrainTickets.Web.Areas.webApi.Models">
<code>1</code>
<data>
<state>sample string 1</state>
</data>
<message>sample string 2</message>
</ApiResultOfMemberSendCodeResponseWjQ9Dvjw>