List illness notifications
Returns a paginated list of all illness notifications of the company.
Request
GET /api/oauth/v2/resource/illness-notifications
Header
| Header | Value |
|---|---|
Authorization | Bearer {access_token} |
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
offset | integer | No | Start position (default: 0, min: 0) |
limit | integer | No | Number 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
| Field | Type | Description |
|---|---|---|
data | Array | List of illness notifications |
data[].id | string (UUID) | Unique ID of the illness notification |
data[].date | string | null | Issue date (YYYY-MM-DD) |
data[].customStartDate | string | null | Start of incapacity (YYYY-MM-DD) |
data[].customEndDate | string | null | Expected end of incapacity (YYYY-MM-DD) |
data[].diagnose | string | null | Diagnosis code or text |
data[].reason | string | null | Reason for incapacity |
data[].bedrest | boolean | null | Bed rest required |
data[].curfew1StartTime | string | null | Curfew period 1 – start time (HH:MM) |
data[].curfew1EndTime | string | null | Curfew period 1 – end time (HH:MM) |
data[].curfew2StartTime | string | null | Curfew period 2 – start time (HH:MM) |
data[].curfew2EndTime | string | null | Curfew period 2 – end time (HH:MM) |
data[].hospitalCareStartTime | string | null | Hospital admission – start time (HH:MM) |
data[].hospitalCareEndTime | string | null | Hospital discharge – end time (HH:MM) |
data[].hospitalCareStartDate | string | null | Hospital admission – date (YYYY-MM-DD) |
data[].hospitalCareEndDate | string | null | Hospital discharge – date (YYYY-MM-DD) |
data[].occupationalDisease | integer | null | Occupational disease (key number) |
data[].electricalAccident | boolean | null | Electrical accident |
data[].reorderDate1 | string | null | Follow-up appointment date 1 (YYYY-MM-DD) |
data[].reorderDate2 | string | null | Follow-up appointment date 2 (YYYY-MM-DD) |
data[].reorderDate3 | string | null | Follow-up appointment date 3 (YYYY-MM-DD) |
data[].reasonForBackdating | string | null | Reason for backdating |
data[].specialIllnessReason | string | null | Reason for special illness classification |
data[].noticeForInsurance | string | null | Notice to the insurance carrier |
data[].printed | boolean | null | Already printed |
data[].customer | object | null | Assigned customer |
data[].customer.id | string (UUID) | Customer ID |
data[].customer.firstName | string | Customer first name |
data[].customer.lastName | string | Customer last name |
meta.total | integer | Total number of illness notifications |
meta.offset | integer | Current start position |
meta.limit | integer | Number 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
| Status | Code | Description |
|---|---|---|
| 401 | invalid_client | Invalid or missing access token |
| 403 | insufficient_scope | Scope medicals not present |