POST users/login

Return true if the user is valid else false.

Request Information

URI Parameters

None.

Body Parameters

UserAccount
NameDescriptionTypeAdditional information
username

User Name

string

None.

password

Password

string

None.

status

Active/Inactive

string

None.

Request Formats

application/json, text/json

Sample:
{
  "username": "sample string 1",
  "password": "sample string 2",
  "status": "sample string 3"
}

application/xml, text/xml

Sample:
<UserAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <password>sample string 2</password>
  <status>sample string 3</status>
  <username>sample string 1</username>
</UserAccount>

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

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>