Skip to content

Gesundmeldungen abrufen

Gibt eine paginierte Liste aller Gesundmeldungen des Unternehmens zurück.

Request

GET /api/oauth/v2/resource/health-notifications

HeaderWert
AuthorizationBearer {access_token}

Query-Parameter

ParameterTypPflichtBeschreibung
offsetintegerNeinStartposition (Standard: 0, Min: 0)
limitintegerNeinAnzahl 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": "Grippaler Infekt",
      "reason": null,
      "bedrest": true,
      "curfew1StartTime": "08:00",
      "curfew1EndTime": "12:00",
      "curfew2StartTime": null,
      "curfew2EndTime": null,
      "hospitalCareStartTime": null,
      "hospitalCareEndTime": null,
      "hospitalCareStartDate": null,
      "hospitalCareEndDate": null,
      "occupationalDisease": 0,
      "electricalAccident": false,
      "reorderDate1": "2026-06-12",
      "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": 17,
    "offset": 0,
    "limit": 50
  }
}

Response-Felder

FeldTypBeschreibung
dataArrayListe der Gesundmeldungen
data[].idstring (UUID)Eindeutige ID der Gesundmeldung
data[].datestring | nullDatum der Gesundmeldung (YYYY-MM-DD)
data[].customStartDatestring | nullAbweichendes Beginndatum (YYYY-MM-DD)
data[].customEndDatestring | nullAbweichendes Enddatum (YYYY-MM-DD)
data[].diagnosestring | nullDiagnose
data[].reasonstring | nullBegründung
data[].bedrestboolean | nullBettruhe angeordnet
data[].curfew1StartTimestring | nullBeginn 1. Ausgangszeit (HH:MM)
data[].curfew1EndTimestring | nullEnde 1. Ausgangszeit (HH:MM)
data[].curfew2StartTimestring | nullBeginn 2. Ausgangszeit (HH:MM)
data[].curfew2EndTimestring | nullEnde 2. Ausgangszeit (HH:MM)
data[].hospitalCareStartTimestring | nullBeginn stationäre Pflege (HH:MM)
data[].hospitalCareEndTimestring | nullEnde stationäre Pflege (HH:MM)
data[].hospitalCareStartDatestring | nullStartdatum stationäre Pflege (YYYY-MM-DD)
data[].hospitalCareEndDatestring | nullEnddatum stationäre Pflege (YYYY-MM-DD)
data[].occupationalDiseaseinteger | nullBerufskrankheit (0 = nein)
data[].electricalAccidentboolean | nullElektrounfall
data[].reorderDate1string | null1. Wiederbestelltermin (YYYY-MM-DD)
data[].reorderDate2string | null2. Wiederbestelltermin (YYYY-MM-DD)
data[].reorderDate3string | null3. Wiederbestelltermin (YYYY-MM-DD)
data[].reasonForBackdatingstring | nullBegründung für Rückdatierung
data[].specialIllnessReasonstring | nullGrund für besondere Erkrankung
data[].noticeForInsurancestring | nullMitteilung an die Versicherung
data[].printedboolean | nullBereits gedruckt
data[].customerobject | nullZugeordnete:r Kund:in
data[].customer.idstring (UUID)Kunden-ID
data[].customer.firstNamestringVorname
data[].customer.lastNamestringNachname
meta.totalintegerGesamtanzahl der Gesundmeldungen
meta.offsetintegerAktuelle Startposition
meta.limitintegerAnzahl der zurückgegebenen Einträge
Beispiele
bash
curl -X GET "https://my.offisy.at/api/oauth/v2/resource/health-notifications?offset=0&limit=50" \
  -H "Authorization: Bearer {access_token}"
Parameter
Zuerst Token anfordern

Mögliche Fehler

StatusCodeBeschreibung
401invalid_clientUngültiger oder fehlender Access Token
403insufficient_scopeScope medicals nicht vorhanden

Offisy GmbH