POST api/member/signup/validcode

验证手机验证码(APP专用)【未完成】

Request Information

URI Parameters

None.

Body Parameters

ValidCodeRequest
NameDescriptionTypeAdditional information
phone_number

string

None.

code

string

None.

terminal

终端

Terminal

None.

time_stamp

时间戳

string

None.

random

随机数

integer

None.

sign

签名

string

None.

Request Formats

application/json, text/json

Sample:
{
  "phone_number": "sample string 1",
  "code": "sample string 2",
  "terminal": 1,
  "time_stamp": "sample string 3",
  "random": 4,
  "sign": "sample string 5"
}

application/xml, text/xml

Sample:
<ValidCodeRequest 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">4</random>
  <sign xmlns="http://schemas.datacontract.org/2004/07/ChinaTrainTickets.Web.Models">sample string 5</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 3</time_stamp>
  <code>sample string 2</code>
  <phone_number>sample string 1</phone_number>
</ValidCodeRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResultOfBoolean
NameDescriptionTypeAdditional information
code

integer

None.

message

string

None.

data

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "message": "sample string 2",
  "data": true
}

application/xml, text/xml

Sample:
<ApiResultOfboolean 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>true</data>
  <message>sample string 2</message>
</ApiResultOfboolean>