Skip to content

List illness notifications

Returns a paginated list of all illness notifications of the company.

Request

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

HeaderValue
AuthorizationBearer {access_token}

Query parameters

ParameterTypeRequiredDescription
offsetintegerNoStart position (default: 0, min: 0)
limitintegerNoNumber of results (default: 50, min: 1, max: 200)

Response

Success (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 fields

FieldTypeDescription
dataArrayList of illness notifications
data[].idstring (UUID)Unique ID of the illness notification
data[].datestring | nullIssue date (YYYY-MM-DD)
data[].customStartDatestring | nullStart of incapacity (YYYY-MM-DD)
data[].customEndDatestring | nullExpected end of incapacity (YYYY-MM-DD)
data[].diagnosestring | nullDiagnosis code or text
data[].reasonstring | nullReason for incapacity
data[].bedrestboolean | nullBed rest required
data[].curfew1StartTimestring | nullCurfew period 1 – start time (HH:MM)
data[].curfew1EndTimestring | nullCurfew period 1 – end time (HH:MM)
data[].curfew2StartTimestring | nullCurfew period 2 – start time (HH:MM)
data[].curfew2EndTimestring | nullCurfew period 2 – end time (HH:MM)
data[].hospitalCareStartTimestring | nullHospital admission – start time (HH:MM)
data[].hospitalCareEndTimestring | nullHospital discharge – end time (HH:MM)
data[].hospitalCareStartDatestring | nullHospital admission – date (YYYY-MM-DD)
data[].hospitalCareEndDatestring | nullHospital discharge – date (YYYY-MM-DD)
data[].occupationalDiseaseinteger | nullOccupational disease (key number)
data[].electricalAccidentboolean | nullElectrical accident
data[].reorderDate1string | nullFollow-up appointment date 1 (YYYY-MM-DD)
data[].reorderDate2string | nullFollow-up appointment date 2 (YYYY-MM-DD)
data[].reorderDate3string | nullFollow-up appointment date 3 (YYYY-MM-DD)
data[].reasonForBackdatingstring | nullReason for backdating
data[].specialIllnessReasonstring | nullReason for special illness classification
data[].noticeForInsurancestring | nullNotice to the insurance carrier
data[].printedboolean | nullAlready printed
data[].customerobject | nullAssigned customer
data[].customer.idstring (UUID)Customer ID
data[].customer.firstNamestringCustomer first name
data[].customer.lastNamestringCustomer last name
meta.totalintegerTotal number of illness notifications
meta.offsetintegerCurrent start position
meta.limitintegerNumber of returned entries
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

Possible errors

StatusCodeDescription
401invalid_clientInvalid or missing access token
403insufficient_scopeScope medicals not present

Offisy GmbH