Skip to Main Content

California State University, Sacramento

GET api/parking/getecotoken

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

EcoToken
NameDescriptionTypeAdditional 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": "2024-12-26T11:41:05.2646834-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>2024-12-26T11:41:05.2646834-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>