POST api/V5/Agent/CheckAccountName?accountname={accountname}

(这是一个为了兼容旧版软件提供的接口,请尽量不要使用)。 验证某个代理商的用户名是否正确,并返回相应的信息。 认证方式:HAWK(ID=代理商获得的用户名、User=代理商获得的用户名、密钥=KEY+UPPER(MD5(代理商登陆密码)))。

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountname

string

Required

Body Parameters

None.

Response Information

Resource Description

(这是一个为了兼容旧版软件提供的接口,请尽量不要使用)。 验证某个代理商的用户名是否正确,并返回相应的信息。 认证方式:HAWK(ID=代理商获得的用户名、User=代理商获得的用户名、密钥=KEY+UPPER(MD5(代理商登陆密码)))。

CommonOperationResultWithTagOfCheckAccountNameResult
NameDescriptionTypeAdditional information
errcode

integer

None.

errmsg

string

None.

tag

CheckAccountNameResult

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 1,
  "errmsg": "sample string 2",
  "tag": {
    "DWMC": "sample string 1",
    "DWSXMC": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<CommonOperationResultWithTagOfCheckAccountNameResultTNrY8Cbs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer">
  <errcode>1</errcode>
  <errmsg>sample string 2</errmsg>
  <tag xmlns:d2p1="http://schemas.datacontract.org/2004/07/DigitalScience.MiniProgram.Result.Result">
    <d2p1:DWMC>sample string 1</d2p1:DWMC>
    <d2p1:DWSXMC>sample string 2</d2p1:DWSXMC>
  </tag>
</CommonOperationResultWithTagOfCheckAccountNameResultTNrY8Cbs>