POST api/ufc/Token

Request Information

URI Parameters

None.

Body Parameters

TokenRequest
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/xml, text/xml

Sample:
<TokenRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercury.Vvm.WebApi.Models">
  <Grant_Type>sample string 1</Grant_Type>
  <Password>sample string 3</Password>
  <Username>sample string 2</Username>
</TokenRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

TokenResponse
NameDescriptionTypeAdditional information
access_token

string

None.

token_type

string

None.

expires_in

integer

None.

userName

string

None.

.issued

string

None.

.expires

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<TokenResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mercury.Vvm.WebApi.Models">
  <AccessToken>sample string 1</AccessToken>
  <Expires>sample string 6</Expires>
  <ExpiresIn>3</ExpiresIn>
  <Issued>sample string 5</Issued>
  <TokenType>sample string 2</TokenType>
  <UserName>sample string 4</UserName>
</TokenResponse>