POST api/token

Request Information

URI Parameters

None.

Body Parameters

Token
NameDescriptionTypeAdditional information
op

string

None.

grant_type

string

None.

username

string

None.

password

string

None.

clientIdentification

string

None.

scope

string

None.

refresh_token

string

None.

retVal

returnValues

None.

Request Formats

application/json, text/json

Sample:
{
  "op": "sample string 1",
  "grant_type": "sample string 2",
  "username": "sample string 3",
  "password": "sample string 4",
  "clientIdentification": "sample string 5",
  "scope": "sample string 6",
  "refresh_token": "sample string 7",
  "retVal": null
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'ExportToAvaCustomer.returnValues' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'ExportToAvaCustomer.returnValues' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.