API reference
Example Response 200
Example
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
| Name | In | Type |
|---|---|---|
fromoptional | Query | string (date-time) |
tooptional | Query | string (date-time) |
location_idoptional | Query | string |
device_idoptional | Query | string |
access_grant_idoptional | Query | string |
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
curl -X GET https://api.ladehase.com/v1/reports/summary \n -H "Authorization: Bearer lh_test_…"{}Export
get/v1/reports/export
CSV, XLSX oder PDF für Buchhaltung und Weiterverrechnung.
Parameters
| Name | In | Type |
|---|---|---|
fromoptional | Query | string (date-time) |
tooptional | Query | string (date-time) |
location_idoptional | Query | string |
device_idoptional | Query | string |
access_grant_idoptional | Query | string |
formatoptional | Query | "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
curl -X GET https://api.ladehase.com/v1/reports/export \n -H "Authorization: Bearer lh_test_…"