POST token

Request Information

URI Parameters

None.

Body Parameters

Name Description Type Additional information
Password string Required
UserName 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

Name Description Type Additional information
access_token string Required
token_type bearer string Required
expires_in integer Required
userName string Required
.issued date time Required
.expires date Required

Response Formats

application/json, text/json

Sample:
    {
        "access_token": "sample string 1",
        "token_type": "bearer",
        "expires_in": "123546",
        "userName": "sample string 2",
        ".issued": "Wed, 08 Nov 2017 09:01:52 GMT",
        ".expires": "Wed, 22 Nov 2017 09:01:52 GMT"
    }