POST api/Agent/VerifyCode
代理商拥有用户名、密码、密钥的情况下,下发一个在业务过程中进行操作较验的验证码。 认证方式:HAWK(ID=代理商获得的用户名、User=代理商获得的用户名、密钥=KEY+UPPER(MD5(代理商登陆密码)))
Request Information
URI Parameters
None.
Body Parameters
手机号码或手机号尾数(后四位),此手机号必须是在供应商处开立账户时设置的(每个代理商可以留存两个手机号,此尾数必须是此手机号其中一个的尾数或全号(注意,手机号为要+86字样,中间不要'-'符)。
stringRequest Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
代理商拥有用户名、密码、密钥的情况下,下发一个在业务过程中进行操作较验的验证码。 认证方式:HAWK(ID=代理商获得的用户名、User=代理商获得的用户名、密钥=KEY+UPPER(MD5(代理商登陆密码)))
OperationResult| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode |
错误代码 |
integer |
None. |
| errmsg |
错误的描述 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2"
}
application/xml, text/xml
Sample:
<OperationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.WebInterface"> <errcode>1</errcode> <errmsg>sample string 2</errmsg> </OperationResult>