POST api/v{version}/login

Login on a session.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

LoginModel
NameDescriptionTypeAdditional information
UserName

string

None.

Password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Password": "sample string 2"
}

application/xml, text/xml

Sample:
<LoginModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models">
  <Password>sample string 2</Password>
  <UserName>sample string 1</UserName>
</LoginModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

LoginResponseModel
NameDescriptionTypeAdditional information
Success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true
}

application/xml, text/xml

Sample:
<LoginResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models">
  <Success>true</Success>
</LoginResponseModel>