POST api/auth/token

Request Information

URI Parameters

None.

Body Parameters

TokenRequest
NameDescriptionTypeAdditional information
Code

string

None.

grant_type

string

None.

refresh_token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "grant_type": "sample string 2",
  "refresh_token": "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/IOTSignalR.Models">
  <Code>sample string 1</Code>
  <grant_type>sample string 2</grant_type>
  <refresh_token>sample string 3</refresh_token>
</TokenRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.