POST api/CreateVerificationCode
生成短信验证码
Request Information
URI Parameters
None.
Body Parameters
CreateVerificationCodeName | Description | Type | Additional information |
---|---|---|---|
Mobile | string |
None. |
|
Type | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Mobile": "sample string 1", "Type": 2 }
application/xml, text/xml
Sample:
<CreateVerificationCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Topwin.Adidas.VM.API.Models"> <Mobile>sample string 1</Mobile> <Type>2</Type> </CreateVerificationCode>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BasicResultName | Description | Type | Additional information |
---|---|---|---|
code |
状态码 |
integer |
None. |
msg |
消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": 1, "msg": "sample string 2" }
application/xml, text/xml
Sample:
<BasicResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Topwin.Adidas.VM.API.Models"> <code>1</code> <msg>sample string 2</msg> </BasicResult>