POST api/Account/Login

Request Information

URI Parameters

None.

Body Parameters

LoginUserBindingModel
NameDescriptionTypeAdditional information
CompanyCode

string

Required

String length: inclusive between 0 and 5

Username

string

Required

String length: inclusive between 0 and 128

Password

string

Required

Data type: Password

Request Formats

application/json, text/json

Sample:
{
  "CompanyCode": "sample string 1",
  "Username": "sample string 2",
  "Password": "sample string 3"
}

application/xml, text/xml

Sample:
<LoginUserBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models">
  <CompanyCode>sample string 1</CompanyCode>
  <Password>sample string 3</Password>
  <Username>sample string 2</Username>
</LoginUserBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.