Fetch Sessions from the CPO’s system.
Fetch Sessions from the CPO’s system.
Query Parameters
date_from date-time
Only return objects that have last_updated after or equal to this Date/Time (inclusive).
date_to date-time
Only return objects that have last_updated up to this Date/Time, but not including (exclusive).
offset string
The offset of the first object returned. Default is 0 (the first object).
limit string
The maximum number of objects to GET.
Header Parameters
Authorization string required
Token Base64encodedtoken
X-Request-ID string required
Unique request ID
X-Correlation-ID string required
Unique correlation ID
Responses
- 200
- 400
The OK response
application/json
Schema
Example (from schema)
Schema
- Array [
- Array [
- Array [
- ]
- ]
- ]
data object[]
countryCode string
partyId string
id string
startDateTime date-time nullable
endDateTime date-time nullable
kwh float nullable
cdrToken object
uid string
type int32
Possible values: [0
, 1
, 2
, 3
]
Default value: 0
contractId string
countryCode string
partyId string
authMethod int32 nullable
Possible values: [0
, 1
, 2
]
Default value: 0
authorizationReference string
locationId string
evseUid string
connectorId string
meterId string
currency string
chargingPeriods object[]
startDateTime date-time
dimensions object[]
type int32
Possible values: [0
, 1
, 2
, 3
, 4
, 5
, 6
, 7
, 8
, 9
, 10
, 11
, 12
, 13
]
Default value: 0
volume float
tariffId string
totalCost object
exclVat float
inclVat float nullable
status int32 nullable
Possible values: [0
, 1
, 2
, 3
, 4
]
Default value: 0
lastUpdated date-time
statusCode int32
statusMessage string
timestamp date-time
{
"data": [
{
"countryCode": "string",
"partyId": "string",
"id": "string",
"startDateTime": "2025-03-31T07:22:19.550Z",
"endDateTime": "2025-03-31T07:22:19.550Z",
"kwh": 0,
"cdrToken": {
"uid": "string",
"type": 0,
"contractId": "string",
"countryCode": "string",
"partyId": "string"
},
"authMethod": 0,
"authorizationReference": "string",
"locationId": "string",
"evseUid": "string",
"connectorId": "string",
"meterId": "string",
"currency": "string",
"chargingPeriods": [
{
"startDateTime": "2025-03-31T07:22:19.550Z",
"dimensions": [
{
"type": 0,
"volume": 0
}
],
"tariffId": "string"
}
],
"totalCost": {
"exclVat": 0,
"inclVat": 0
},
"status": 0,
"lastUpdated": "2025-03-31T07:22:19.550Z"
}
],
"statusCode": 0,
"statusMessage": "string",
"timestamp": "2025-03-31T07:22:19.550Z"
}
Something went wrong
Loading...