ChargeHistory

Retrieves a usage report based on the provided filters (requires installation owner permissions). FromDate and EndDate without an offset are read as wall-clock time in the installation's time zone. With an offset or a Z suffix they are read as the instant they denote.

post/api/chargehistory/installationreport

Request

  • Base URL
    https://api.zaptec.com
  • URL
    https://api.zaptec.com/api/chargehistory/installationreport
  • Auth
    OAuth 2
    Password
    Token URL: https://api.zaptec.com/oauth/token

Request body

fromDatestring date-time
endDatestring date-time
installationIdstring uuid nullable
userIdsstring[] nullable
chargerIdsstring[] nullable
groupBy0 | 1 | 2

0 = User

1 = Charger

2 = ChargeCardName

reportFormat0 | 1

0 = Summary

1 = Detailed

Response

OK

installationNamestring nullable
installationAddressstring nullable
installationZipCodestring nullable
installationCitystring nullable
installationTimeZonestring nullable
groupedBystring nullable
fromdatestring date-time
enddatestring date-time

Changes