POST api/Login/LoginSubmit

用户登录验证

Request Information

URI Parameters

None.

Body Parameters

LoginWhereDOM
NameDescriptionTypeAdditional information
Account

账户

string

None.

PassWord

姓名

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Account": "sample string 1",
  "PassWord": "sample string 2"
}

application/xml, text/xml

Sample:
<LoginWhereDOM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOM">
  <Account>sample string 1</Account>
  <PassWord>sample string 2</PassWord>
</LoginWhereDOM>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'LoginWhereDOM'.

Response Information

Resource Description

用户登录验证

TokenDTO
NameDescriptionTypeAdditional information
Status

状态

integer

None.

StatusMessage

消息状态

string

None.

AccessToken

token描述

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "StatusMessage": "sample string 1",
  "AccessToken": "sample string 2"
}

application/xml, text/xml

Sample:
<TokenDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <AccessToken>sample string 2</AccessToken>
  <Status>1</Status>
  <StatusMessage>sample string 1</StatusMessage>
</TokenDTO>