Get connectivity status of charger
GET {{baseUrl}}/chargerStatus/chargers/:chargerId/connectivityStatus?from=<dateTime>&to=<dateTime>
Retrieve connectivity status of a charger to DepotFinity backend for a given time range. Status is returned in ascending order of time stamp(i.e oldest status first). Returns the latest status if time range is not provided. Time range cannot be greater than 1 day.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
from | string | Beginning of the time range to be retrieved (exclusive). Time stamp as per ISO 8601 format | |
to | string | End of the time range to be retrieved (inclusive). Time stamp as per ISO 8601 format |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"items":[{"time":"2020-10-01T10:30:00.000Z","connected":true},{"time":"2020-10-01T10:30:00.000Z","connected":true}]}