POST api/Agent/AgentIsVerifyCode
代理商未登录 发送一个验证把到代理商留存在供应商处的手机上。 认证方式:HAWK,密钥:KEY+UPPER(MD5(密码))。
请求信息
URI参数
None.
窗体参数
Dictionary of string [key] and string [value]请求格式
Test application/json, text/json
Sample:
{
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
}
Test application/xml, text/xml
Sample:
<ArrayOfKeyValueOfstringstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<KeyValueOfstringstring>
<Key>sample string 1</Key>
<Value>sample string 2</Value>
</KeyValueOfstringstring>
<KeyValueOfstringstring>
<Key>sample string 3</Key>
<Value>sample string 4</Value>
</KeyValueOfstringstring>
</ArrayOfKeyValueOfstringstring>
Test application/x-www-form-urlencoded
Sample:
没有示例。
回复信息
资源描述
代理商未登录 发送一个验证把到代理商留存在供应商处的手机上。 认证方式:HAWK,密钥:KEY+UPPER(MD5(密码))。
OperationResult| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode |
错误代码 |
integer |
None. |
| errmsg |
错误的描述 |
string |
None. |
回复格式
Test application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2"
}
Test application/xml, text/xml
Sample:
<OperationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TourWebApi.Models.Result"> <errcode>1</errcode> <errmsg>sample string 2</errmsg> </OperationResult>