POST api/Auth

Request Information

URI Parameters

None.

Body Parameters

AuthenticationModel
NameDescriptionTypeAdditional information
grant_type

string

None.

username

string

None.

password

string

None.

Request Formats

application/json, text/json

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

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.