Arbeitsunfähigkeiten abrufen
Gibt eine paginierte Liste aller Arbeitsunfähigkeitsmeldungen des Unternehmens zurück.
Request
GET /api/oauth/v2/resource/illness-notifications
Header
| Header | Wert |
|---|---|
Authorization | Bearer {access_token} |
Query-Parameter
| Parameter | Typ | Pflicht | Beschreibung |
|---|---|---|---|
offset | integer | Nein | Startposition (Standard: 0, Min: 0) |
limit | integer | Nein | Anzahl Ergebnisse (Standard: 50, Min: 1, Max: 200) |
Response
Erfolg (200 OK)
json
{
"data": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"date": "2026-06-09",
"customStartDate": "2026-06-09",
"customEndDate": "2026-06-16",
"diagnose": "J06.9",
"reason": null,
"bedrest": false,
"curfew1StartTime": null,
"curfew1EndTime": null,
"curfew2StartTime": null,
"curfew2EndTime": null,
"hospitalCareStartTime": null,
"hospitalCareEndTime": null,
"hospitalCareStartDate": null,
"hospitalCareEndDate": null,
"occupationalDisease": null,
"electricalAccident": false,
"reorderDate1": null,
"reorderDate2": null,
"reorderDate3": null,
"reasonForBackdating": null,
"specialIllnessReason": null,
"noticeForInsurance": null,
"printed": false,
"customer": {
"id": "f0e1d2c3-b4a5-6789-fedc-ba9876543210",
"firstName": "Anna",
"lastName": "Muster"
}
}
],
"meta": {
"total": 12,
"offset": 0,
"limit": 50
}
}Response-Felder
| Feld | Typ | Beschreibung |
|---|---|---|
data | Array | Liste der Arbeitsunfähigkeiten |
data[].id | string (UUID) | Eindeutige ID der Arbeitsunfähigkeit |
data[].date | string | null | Ausstellungsdatum (YYYY-MM-DD) |
data[].customStartDate | string | null | Beginn der Arbeitsunfähigkeit (YYYY-MM-DD) |
data[].customEndDate | string | null | Voraussichtliches Ende (YYYY-MM-DD) |
data[].diagnose | string | null | Diagnose-Code oder -Text |
data[].reason | string | null | Begründung |
data[].bedrest | boolean | null | Bettruhe erforderlich |
data[].curfew1StartTime | string | null | Ausgehverbot 1 – Beginn (HH:MM) |
data[].curfew1EndTime | string | null | Ausgehverbot 1 – Ende (HH:MM) |
data[].curfew2StartTime | string | null | Ausgehverbot 2 – Beginn (HH:MM) |
data[].curfew2EndTime | string | null | Ausgehverbot 2 – Ende (HH:MM) |
data[].hospitalCareStartTime | string | null | Stationäre Aufnahme – Uhrzeit Beginn (HH:MM) |
data[].hospitalCareEndTime | string | null | Stationäre Entlassung – Uhrzeit Ende (HH:MM) |
data[].hospitalCareStartDate | string | null | Stationäre Aufnahme – Datum (YYYY-MM-DD) |
data[].hospitalCareEndDate | string | null | Stationäre Entlassung – Datum (YYYY-MM-DD) |
data[].occupationalDisease | integer | null | Berufskrankheit (Schlüsselzahl) |
data[].electricalAccident | boolean | null | Elektrounfall |
data[].reorderDate1 | string | null | Wiederbestelldatum 1 (YYYY-MM-DD) |
data[].reorderDate2 | string | null | Wiederbestelldatum 2 (YYYY-MM-DD) |
data[].reorderDate3 | string | null | Wiederbestelldatum 3 (YYYY-MM-DD) |
data[].reasonForBackdating | string | null | Grund für Rückdatierung |
data[].specialIllnessReason | string | null | Grund für besondere Erkrankung |
data[].noticeForInsurance | string | null | Mitteilung an den Versicherungsträger |
data[].printed | boolean | null | Bereits gedruckt |
data[].customer | object | null | Zugeordneter Kunde |
data[].customer.id | string (UUID) | Kunden-ID |
data[].customer.firstName | string | Vorname des Kunden |
data[].customer.lastName | string | Nachname des Kunden |
meta.total | integer | Gesamtanzahl der Arbeitsunfähigkeiten |
meta.offset | integer | Aktuelle Startposition |
meta.limit | integer | Anzahl der zurückgegebenen Einträge |
Beispiele
bash
curl -X GET "https://my.offisy.at/api/oauth/v2/resource/illness-notifications?offset=0&limit=50" \
-H "Authorization: Bearer {access_token}"Parameter
Zuerst Token anfordern
Mögliche Fehler
| Status | Code | Beschreibung |
|---|---|---|
| 401 | invalid_client | Ungültiger oder fehlender Access Token |
| 403 | insufficient_scope | Scope medicals nicht vorhanden |