POST api/Agent/VerifyCode/FormOffcial
这是一个特殊的接口,用于在官方网站、官方微信的应用程序中,给代理商留存在供应商处的手机号码发送一个验证码。 (这个使用的是特定用户,代理商无法直接访问)认证方式:HAWK(ID=官方互联网用户名、User=官方互联网用户名、密钥=KEY+UPPER(MD5(特定登陆密码)))
Request Information
URI Parameters
None.
Body Parameters
指定的,发送验证码的参数。
AgentSendVerifyCodeParm| Name | Description | Type | Additional information |
|---|---|---|---|
| username |
代理商(互联网账户)用户名。 |
string |
Required Max length: 32 |
| mobile |
代理商(互联网账户)留存在供应商处的手机全号或后四位(尾数)。 |
string |
Required Max length: 11 Min length: 4 |
Request Formats
application/json, text/json
Sample:
{
"username": "sample string 1",
"mobile": "sample string 2"
}
application/xml, text/xml
Sample:
<AgentSendVerifyCodeParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm"> <mobile>sample string 2</mobile> <username>sample string 1</username> </AgentSendVerifyCodeParm>
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>