POST api/token/Post
Request Information
URI Parameters
None.
Body Parameters
TokenRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| grant_Type | string |
None. |
|
| client_id | string |
None. |
|
| client_secret | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"grant_Type": "sample string 1",
"client_id": "sample string 2",
"client_secret": "sample string 3"
}
application/xml, text/xml
Sample:
<TokenRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChemsafeApi.Controllers.Api"> <client_id>sample string 2</client_id> <client_secret>sample string 3</client_secret> <grant_Type>sample string 1</grant_Type> </TokenRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />