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

KeyDatatypeRequiredDescription
fromstringBeginning of the time range to be retrieved (exclusive). Time stamp as per ISO 8601 format
tostringEnd of the time range to be retrieved (inclusive). Time stamp as per ISO 8601 format

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;items&quot;:[{&quot;time&quot;:&quot;2020-10-01T10:30:00.000Z&quot;,&quot;connected&quot;:true},{&quot;time&quot;:&quot;2020-10-01T10:30:00.000Z&quot;,&quot;connected&quot;:true}]}