GET api/parking/getecotoken
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
EcoToken| Name | Description | Type | Additional information |
|---|---|---|---|
| access_token | string |
None. |
|
| expires_in | integer |
None. |
|
| token_type | string |
None. |
|
| scope | string |
None. |
|
| id_token | string |
None. |
|
| ExpiresAt | date |
None. |
|
| IsValidAndNotExpiring | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"access_token": "sample string 1",
"expires_in": 2,
"token_type": "sample string 3",
"scope": "sample string 4",
"id_token": "sample string 5",
"ExpiresAt": "2026-01-15T03:06:19.3254596-08:00",
"IsValidAndNotExpiring": false
}
application/xml, text/xml
Sample:
<EcoToken xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProxyingDataProvider.Models.Eco"> <ExpiresAt>2026-01-15T03:06:19.3254596-08:00</ExpiresAt> <ExpiresIn>2</ExpiresIn> <IdToken>sample string 5</IdToken> <Token>sample string 1</Token> <TokenType>sample string 3</TokenType> <scope>sample string 4</scope> </EcoToken>