Get a timeseries of charger states
x-ms-visibility: "important"
Retrieve a time series of charger states.
Query Parameters
from date-time
Start timestamp for the period to be fetched. Default: 7 days ago.
to date-time
End timestamp for the period to be fetched. Default: Now.
siteIds int64[]
Array of site IDs to filter the results.
chargerIds string[]
Array of charger IDs to filter the results.
socketIds int32[]
Array of socket IDs to filter the results.
includeSubsites boolean
Set to 'true' to include subsites in the results. Default: false
page int32
Page to be fetched. Default: 1
limit int32
Limit (No. of records per page). Default: 100
sortKey string
Sort field to be used (Default: Timestamp)
sortDescending boolean
Set to 'true' to sort descending based on sort key (Default: true)
Responses
- 200
- 400
- 401
Time series of charger states.
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
page int32
limit int32
totalRecords int32
hasNextPage boolean
hasPreviousPage boolean
items object[]
timestamp date-time
chargerId string
chargerName string
socketId int32
status string
{
"page": 0,
"limit": 0,
"totalRecords": 0,
"hasNextPage": true,
"hasPreviousPage": true,
"items": [
{
"timestamp": "2025-05-28T10:55:51.166Z",
"chargerId": "string",
"chargerName": "string",
"socketId": 0,
"status": "string"
}
]
}
Invalid request parameters
application/json
Schema
Example (from schema)
Schema
errorCode string
message string
errorNumber int32
helpLink string
{
"errorCode": "string",
"message": "string",
"errorNumber": 0,
"helpLink": "string"
}
User not authorized
Loading...