Skip to content
API reference

Berichte

2 endpoints

The endpoint descriptions come directly from the API and are in German.

Kennzahlen

get/v1/reports/summary

Ladungen, Energie, Umsatz, MWST, Tagesreihe, pro Gerät und Kanal (Standard: letzte 30 Tage).

Parameters

NameInType
fromoptionalQuerystring (date-time)
tooptionalQuerystring (date-time)
location_idoptionalQuerystring
device_idoptionalQuerystring
access_grant_idoptionalQuerystring

Response 200Object

Possible errors

  • 400 Anfrage ungültig
  • 401 Nicht angemeldet
  • 403 Berechtigung fehlt
  • 404 Nicht gefunden
  • 409 Zustand passt nicht
  • 429 Zu viele Anfragen
Example
curl -X GET https://api.ladehase.com/v1/reports/summary \n  -H "Authorization: Bearer lh_test_…"
Response 200
{}

Export

get/v1/reports/export

CSV, XLSX oder PDF für Buchhaltung und Weiterverrechnung.

Parameters

NameInType
fromoptionalQuerystring (date-time)
tooptionalQuerystring (date-time)
location_idoptionalQuerystring
device_idoptionalQuerystring
access_grant_idoptionalQuerystring
formatoptionalQuery"csv" | "xlsx" | "pdf"

Possible errors

  • 400 Anfrage ungültig
  • 401 Nicht angemeldet
  • 403 Berechtigung fehlt
  • 404 Nicht gefunden
  • 409 Zustand passt nicht
  • 429 Zu viele Anfragen
Example
curl -X GET https://api.ladehase.com/v1/reports/export \n  -H "Authorization: Bearer lh_test_…"