POST api/auth/login

Request Information

URI Parameters

None.

Body Parameters

authModel
NameDescriptionTypeAdditional information
apikey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "apikey": "sample string 1"
}

application/xml, text/xml

Sample:
<authModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IdaWebApi.Areas.auth.Model">
  <apikey>sample string 1</apikey>
</authModel>

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

Response Information

Resource Description

authModelResponse
NameDescriptionTypeAdditional information
token

string

None.

Response Formats

application/json, text/json

Sample:
{
  "token": "sample string 1"
}

application/xml, text/xml

Sample:
<authModelResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IdaWebApi.Areas.auth.Model">
  <token>sample string 1</token>
</authModelResponse>