GET api/v{version}/Printt/token
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| version |
The requested API version |
string |
Required Default value is 1 |
Body Parameters
None.
Response Information
Resource Description
UserToken| Name | Description | Type | Additional information |
|---|---|---|---|
| user_id | integer |
None. |
|
| access_token | string |
None. |
|
| token_type | string |
None. |
|
| refresh_token | string |
None. |
|
| scope | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"user_id": 1,
"access_token": "sample string 2",
"token_type": "sample string 3",
"refresh_token": "sample string 4",
"scope": "sample string 5"
}
text/javascript
Sample:
{"user_id":1,"access_token":"sample string 2","token_type":"sample string 3","refresh_token":"sample string 4","scope":"sample string 5"}
application/xml, text/xml
Sample:
<UserToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNITE.External.API.Support.Printt"> <access_token>sample string 2</access_token> <refresh_token>sample string 4</refresh_token> <scope>sample string 5</scope> <token_type>sample string 3</token_type> <user_id>1</user_id> </UserToken>