Sessions

Get all charging sessions

get/sessions

Request

  • Base URL: https://api.heycharge.com/v1/b2b
  • URL: https://api.heycharge.com/v1/b2b/sessions
  • Auth: HTTP bearer

Query parameters

startstring

Start timestamp in ISO format

endstring

End timestamp in ISO format

userIdstring

ID of the user

chargerIdstring

ID of the charger

Headers

b2bidstring

BackofficeAdmin only. Specifies the target B2B ID when acting on behalf of a B2B. For regular users this header is ignored — the B2B from the JWT is always used.

Response

An array of sessions

idstring
userIdstring
chargeAmountnumber

Amount of Watt-hours

chargerIdstring

Sequential ID number of the charger in the site.

startDatestring

ISO string

endDatestring

ISO string

Changes

No recorded changes to this operation across all 1 revision of this API.