Get status of charger in ascending order, date range is restricted for only one day. If date range in request is not provided the latest data is returned

GET {{baseUrl}}/chargerStatus/chargers/:chargerId/availabilityStatus?from=<dateTime>&to=<dateTime>

Request Params

KeyDatatypeRequiredDescription
fromstringBeginning of the time range to be retrieved (exclusive). Time stamp as per ISO 8601 format. "from" and "to" query param should be used together.
tostringEnd of the time range to be retrieved (inclusive). Time stamp as per ISO 8601 format. "from" and "to" query param should be used together.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;items&quot;:[{&quot;timeStamp&quot;:&quot;2019-12-20T10:44:30.390Z&quot;,&quot;status&quot;:&quot;Available&quot;,&quot;errorCode&quot;:&quot;NoError&quot;,&quot;vendorErrorCode&quot;:&quot;ex tempor laboris amet sit&quot;,&quot;vendorId&quot;:&quot;pariatur nulla consectetur&quot;},{&quot;timeStamp&quot;:&quot;2019-12-20T10:44:30.390Z&quot;,&quot;status&quot;:&quot;Faulted&quot;,&quot;errorCode&quot;:&quot;NoError&quot;,&quot;vendorErrorCode&quot;:&quot;Excepteur incididunt quis magna&quot;,&quot;vendorId&quot;:&quot;ut deserunt proident dolor fugiat&quot;}]}