Get health notification
Returns the details of a single health notification.
Request
GET /api/oauth/v2/resource/health-notifications/{uuid}
Header
| Header | Value |
|---|---|
Authorization | Bearer {access_token} |
URL parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
uuid | string | Yes | Unique ID of the health notification |
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": "Common cold",
"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"
}
}
}Response fields
| Field | Type | Description |
|---|---|---|
data.id | string (UUID) | Unique ID of the health notification |
data.date | string | null | Date of the health notification (YYYY-MM-DD) |
data.customStartDate | string | null | Custom start date (YYYY-MM-DD) |
data.customEndDate | string | null | Custom end date (YYYY-MM-DD) |
data.diagnose | string | null | Diagnosis |
data.reason | string | null | Reason |
data.bedrest | boolean | null | Bed rest ordered |
data.curfew1StartTime | string | null | Start of 1st curfew period (HH:MM) |
data.curfew1EndTime | string | null | End of 1st curfew period (HH:MM) |
data.curfew2StartTime | string | null | Start of 2nd curfew period (HH:MM) |
data.curfew2EndTime | string | null | End of 2nd curfew period (HH:MM) |
data.hospitalCareStartTime | string | null | Hospital care start time (HH:MM) |
data.hospitalCareEndTime | string | null | Hospital care end time (HH:MM) |
data.hospitalCareStartDate | string | null | Hospital care start date (YYYY-MM-DD) |
data.hospitalCareEndDate | string | null | Hospital care end date (YYYY-MM-DD) |
data.occupationalDisease | integer | null | Occupational disease (0 = no) |
data.electricalAccident | boolean | null | Electrical accident |
data.reorderDate1 | string | null | 1st follow-up appointment (YYYY-MM-DD) |
data.reorderDate2 | string | null | 2nd follow-up appointment (YYYY-MM-DD) |
data.reorderDate3 | string | null | 3rd follow-up appointment (YYYY-MM-DD) |
data.reasonForBackdating | string | null | Reason for backdating |
data.specialIllnessReason | string | null | Reason for special illness |
data.noticeForInsurance | string | null | Notice for insurance |
data.printed | boolean | null | Already printed |
data.customer | object | null | Assigned customer |
data.customer.id | string (UUID) | Customer ID |
data.customer.firstName | string | First name |
data.customer.lastName | string | Last name |
Beispiele
bash
curl -X GET "https://my.offisy.at/api/oauth/v2/resource/health-notifications/b2c3d4e5-f6a7-8901-bcde-f01234567890" \
-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 |
| 404 | not_found | Health notification not found |