POST api/Authorize
Request Information
URI Parameters
None.
Body Parameters
ModelTokenName | Description | Type | Additional information |
---|---|---|---|
client_id | string |
None. |
|
client_secret | string |
None. |
|
resource | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "client_id": "sample string 1", "client_secret": "sample string 2", "resource": "sample string 3" }
application/xml, text/xml
Sample:
<ModelToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASCTracAuthAPI.Models"> <client_id>sample string 1</client_id> <client_secret>sample string 2</client_secret> <resource>sample string 3</resource> </ModelToken>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |