Schedule
Fetch the current versioned schedule for the assigned patient
GET /v1/device/schedule
The server selects the active assignment and the latest ACTIVE schedule that is valid now. The device does not send a patient id.
Required headers
X-Device-Id: <device-id> Authorization: Bearer <device-secret>
Request
GET https://api-dev.zorgassistent.eu/v1/device/schedule
Response
{
"serverTime": "2026-09-13T08:00:01.000Z",
"schedule": {
"id": "70000000-0000-4000-8000-000000000001",
"version": 3,
"validFrom": "2026-09-13T00:00:00.000Z",
"validUntil": "2026-09-20T00:00:00.000Z",
"items": [
{
"id": "71000000-0000-4000-8000-000000000001",
"plannedAt": "2026-09-13T09:00:00.000Z",
"deviceAction": "PRESENT_MEDICATION",
"compartmentReference": "04",
"instruction": "Present medication"
}
]
}
}404 if the device has no active assignment or no valid schedule. Store this payload locally before acknowledging.