Get session reports for an HPC Charger. The array of session reports will be in items object in response.
GET {{baseUrl}}/sessionReports?chargerId=<string>&connectorId=<integer>&page=1&limit=3&from=<dateTime>&to=<dateTime>
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
chargerId | string | (Required) Selects a specific charger (pantograph) for which all the Session reports should be retrieved | |
connectorId | string | (Required) Selects a specific connector for which all the Session reports should be retrieved | |
page | number | Specifies the requested page index. Default is 1 | |
limit | number | Specifies the number of elements in a page. Default - 3. Minimum - 10. Maximum - 2000 | |
from | string | Start point in time from where session reports should be retrieved from | |
to | string | End point in time till where session reports should be retrieved till |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"ChargerID":"XYZ","ConnectorID":"nostrud ","items":[{"batteryAlignmentResults":{"eventTimestamp":"2019-12-20T10:44:30.390Z","inRange":false,"presentVoltage":634,"requestedVoltage":634},"chargeParameters":[{"eventTimestamp":"2019-12-20T10:44:30.390Z","maxCurrent":600,"maxPower":450000,"maxVoltage":750,"minCurrent":0,"minVoltage":400,"paramType":"Station"},{"eventTimestamp":"2019-12-20T10:44:30.390Z","maxCurrent":600,"maxPower":450000,"maxVoltage":750,"minCurrent":0,"minVoltage":400,"paramType":"Station"}],"dcBreakerOpenConditions":{"current":0,"eventTimestamp":"2019-12-20T10:44:30.390Z","voltage":676},"detailStatus":[{"eventTimestamp":"2019-12-20T10:44:30.390Z","key":"chargingProcessStatus","value":"0x0000784B"},{"eventTimestamp":"2019-12-20T10:44:30.390Z","key":"chargingProcessStatus","value":"0x0000784B"}],"deviceStatus":[{"deviceId":"Pantograph","eventTimestamp":"2019-12-20T10:44:30.390Z","status":"OPEN","errorCodes":[{"eventTimestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"key":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"eventTimestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"key":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]},{"deviceId":"Pantograph","eventTimestamp":"2019-12-20T10:44:30.390Z","status":"OPEN","errorCodes":[{"eventTimestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"key":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"eventTimestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"key":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]}],"energyChargeEnd":873849,"energyChargeStart":840739,"energyPrimaryEnd":-1,"energyPrimaryStart":-1,"energyRequestedEnd":879723,"energyRequestedStart":846353,"energySocEnd":10,"energySocStart":95,"ocppStatus":[{"eventTimestamp":"2019-12-20T10:44:30.390Z","value":"Available"},{"eventTimestamp":"2019-12-20T10:44:30.390Z","value":"Available"}],"sessionError":[{"errorDesc":"control pilot stateC lost: stateB, bus aborted charging","errorId":"PILOT_STATEC_LOST","errorReason":"FAILED","eventTimestamp":"2019-12-20T10:44:30.390Z","processState":"CHARGING_RUNNING"},{"errorDesc":"control pilot stateC lost: stateB, bus aborted charging","errorId":"PILOT_STATEC_LOST","errorReason":"FAILED","eventTimestamp":"2019-12-20T10:44:30.390Z","processState":"CHARGING_RUNNING"}],"sessionId":123,"sessionMeterValues":[{"eventTimestamp":"2019-12-20T10:44:30.390Z","key":"present_current","value":3},{"eventTimestamp":"2019-12-20T10:44:30.390Z","key":"present_current","value":3}],"sessionTimeEnd":"2019-12-20T10:44:30.390Z","sessionTimeStart":"2019-12-20T10:44:30.390Z","vehicleId":"XYZ"},{"batteryAlignmentResults":{"eventTimestamp":"2019-12-20T10:44:30.390Z","inRange":false,"presentVoltage":634,"requestedVoltage":634},"chargeParameters":[{"eventTimestamp":"2019-12-20T10:44:30.390Z","maxCurrent":600,"maxPower":450000,"maxVoltage":750,"minCurrent":0,"minVoltage":400,"paramType":"Station"},{"eventTimestamp":"2019-12-20T10:44:30.390Z","maxCurrent":600,"maxPower":450000,"maxVoltage":750,"minCurrent":0,"minVoltage":400,"paramType":"Station"}],"dcBreakerOpenConditions":{"current":0,"eventTimestamp":"2019-12-20T10:44:30.390Z","voltage":676},"detailStatus":[{"eventTimestamp":"2019-12-20T10:44:30.390Z","key":"chargingProcessStatus","value":"0x0000784B"},{"eventTimestamp":"2019-12-20T10:44:30.390Z","key":"chargingProcessStatus","value":"0x0000784B"}],"deviceStatus":[{"deviceId":"Pantograph","eventTimestamp":"2019-12-20T10:44:30.390Z","status":"OPEN","errorCodes":[{"eventTimestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"key":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"eventTimestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"key":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]},{"deviceId":"Pantograph","eventTimestamp":"2019-12-20T10:44:30.390Z","status":"OPEN","errorCodes":[{"eventTimestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"key":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"eventTimestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"key":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]}],"energyChargeEnd":873849,"energyChargeStart":840739,"energyPrimaryEnd":-1,"energyPrimaryStart":-1,"energyRequestedEnd":879723,"energyRequestedStart":846353,"energySocEnd":10,"energySocStart":95,"ocppStatus":[{"eventTimestamp":"2019-12-20T10:44:30.390Z","value":"Available"},{"eventTimestamp":"2019-12-20T10:44:30.390Z","value":"Available"}],"sessionError":[{"errorDesc":"control pilot stateC lost: stateB, bus aborted charging","errorId":"PILOT_STATEC_LOST","errorReason":"FAILED","eventTimestamp":"2019-12-20T10:44:30.390Z","processState":"CHARGING_RUNNING"},{"errorDesc":"control pilot stateC lost: stateB, bus aborted charging","errorId":"PILOT_STATEC_LOST","errorReason":"FAILED","eventTimestamp":"2019-12-20T10:44:30.390Z","processState":"CHARGING_RUNNING"}],"sessionId":123,"sessionMeterValues":[{"eventTimestamp":"2019-12-20T10:44:30.390Z","key":"present_current","value":3},{"eventTimestamp":"2019-12-20T10:44:30.390Z","key":"present_current","value":3}],"sessionTimeEnd":"2019-12-20T10:44:30.390Z","sessionTimeStart":"2019-12-20T10:44:30.390Z","vehicleId":"XYZ"}]}