Riferimento API
Esempio Risposta 200
Esempio
Berichte
2 endpoint
Le descrizioni degli endpoint provengono direttamente dall'API e sono in tedesco.
Kennzahlen
get/v1/reports/summary
Ladungen, Energie, Umsatz, MWST, Tagesreihe, pro Gerät und Kanal (Standard: letzte 30 Tage).
Parametri
| Nome | Posizione | Tipo |
|---|---|---|
fromfacoltativo | Query | string (date-time) |
tofacoltativo | Query | string (date-time) |
location_idfacoltativo | Query | string |
device_idfacoltativo | Query | string |
access_grant_idfacoltativo | Query | string |
Risposta 200Object
Errori possibili
- 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.
Parametri
| Nome | Posizione | Tipo |
|---|---|---|
fromfacoltativo | Query | string (date-time) |
tofacoltativo | Query | string (date-time) |
location_idfacoltativo | Query | string |
device_idfacoltativo | Query | string |
access_grant_idfacoltativo | Query | string |
formatfacoltativo | Query | "csv" | "xlsx" | "pdf" |
Errori possibili
- 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_…"