Get charger events for a charger
x-ms-visibility: "important"
Retrieve events for a specific charger.
Path Parameters
chargerId string required
ID of the charger to retrieve events for
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.
page int32
Page to be fetched. Default: 1
limit int32
Limit (No. of records per page). Max value: 100. Default: 100.
search string
Free text filter for charger events.
socketId int64
Filter by socket ID.
sortKey string
Field to be used for sorting. Default: timestamp
sortDescending boolean
Set to 'true' to sort descending based on sort key. Default: 'false'
Responses
- 200
- 400
- 401
List of charger events.
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
socketId int64
type string
status string
info string
error string
{
"page": 0,
"limit": 0,
"totalRecords": 0,
"hasNextPage": true,
"hasPreviousPage": true,
"items": [
{
"timestamp": "2025-04-10T07:03:12.592Z",
"chargerId": "string",
"socketId": 0,
"type": "string",
"status": "string",
"info": "string",
"error": "string"
}
]
}
Exception Details
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...