POST api/common/validedushismscode

验证E都市手机验证码

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

Request 信息

URI 参数

None.

Body 参数

参数

ValidEdushiSmsCodeModel
名称说明数据类型附加信息
Code

手机验证码

string

Required

Max length: 4

Phone

手机号码

string

Required

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

Request 数据格式

application/json, text/json

示例:
{
  "Code": "sample string 1",
  "Phone": "sample string 2"
}

application/xml, text/xml

示例:
<ValidEdushiSmsCodeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.Common">
  <Phone>sample string 2</Phone>
  <Code>sample string 1</Code>
</ValidEdushiSmsCodeModel>

application/x-www-form-urlencoded

示例:

Response 信息

输出返回说明

结果

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

API错误码

APIErrorCode

None.

Msg

附带消息

string

None.

Response 返回数据格式

application/json, text/json

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

application/xml, text/xml

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