POST /Token

Request Information

URI Parameters

None.

Body Parameters

NameDescriptionTypeAdditional information
userName

String

Required

Password

String

Required

grant_type

password

String

Required

Request Formats

application/json, text/json

Sample:
{
  "userName": "sample string 1",
  "Password": "sample string 2",
  "grant_type": "password"
}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:
{
    "access_token": "sample string 1",
    "token_type": "bearer",
    "expires_in": 1,
    "userName": "sample string 2",
    ".issued": "Tue, 11 Jun 2019 09:04:53 GMT",
    ".expires": "Tue, 11 Jun 2019 09:34:53 GMT"
}