POST api/Accounts/Login

Request Information

URI Parameters

None.

Body Parameters

LoginDTO
NameDescriptionTypeAdditional information
UserLoginId

string

None.

Password

string

None.

RememberMe

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "UserLoginId": "sample string 1",
  "Password": "sample string 2",
  "RememberMe": true
}

text/html

Sample:
{"UserLoginId":"sample string 1","Password":"sample string 2","RememberMe":true}

application/xml, text/xml

Sample:
<LoginDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PSASMobileApi.Models.DTO">
  <Password>sample string 2</Password>
  <RememberMe>true</RememberMe>
  <UserLoginId>sample string 1</UserLoginId>
</LoginDTO>

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 'LoginDTO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.