POST api/v1/Token

Request Information

URI Parameters

None.

Body Parameters

TokenRequest
NameDescriptionTypeAdditional information
grant_type

string

None.

password

string

None.

username

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<TokenRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <grant_type>sample string 1</grant_type>
  <password>sample string 2</password>
  <username>sample string 3</username>
</TokenRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

TokenResponse
NameDescriptionTypeAdditional information
access_token

string

None.

error

string

None.

error_description

string

None.

.expires

string

None.

expires_in

integer

None.

.issued

string

None.

token_type

string

None.

userName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "access_token": "sample string 1",
  "error": "sample string 2",
  "error_description": "sample string 3",
  ".expires": "sample string 4",
  "expires_in": 5,
  ".issued": "sample string 6",
  "token_type": "sample string 7",
  "userName": "sample string 8"
}

application/xml, text/xml

Sample:
<TokenResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <AccessToken>sample string 1</AccessToken>
  <Error>sample string 2</Error>
  <ErrorDescription>sample string 3</ErrorDescription>
  <Expires>sample string 4</Expires>
  <ExpiresIn>5</ExpiresIn>
  <Issued>sample string 6</Issued>
  <TokenType>sample string 7</TokenType>
  <UserName>sample string 8</UserName>
</TokenResponse>