POST api/Ent/Login

登陆到服务器,验证用户名和密码。 使用后台用户常规HAWK认证。

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

登陆到服务器,验证用户名和密码。 使用后台用户常规HAWK认证。

CommonOperationResultWithTagOfString
NameDescriptionTypeAdditional information
errcode

integer

None.

errmsg

string

None.

tag

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<CommonOperationResultWithTagOfstring 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>sample string 3</tag>
</CommonOperationResultWithTagOfstring>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.