POST api/Personal/CheckUserNameUseable

检查某个用户名是否可以用于(个人用户)注册。V4.0接口,没有向下兼容接口,HAWK认证,仅限官方网络,代理商不可访问。

Request Information

URI Parameters

None.

Body Parameters

被测试的用户名。

string

Request 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

检查某个用户名是否可以用于(个人用户)注册。V4.0接口,没有向下兼容接口,HAWK认证,仅限官方网络,代理商不可访问。

OperationResult
NameDescriptionTypeAdditional 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>