curl --request GET \
--url http://localhost:3000/v1/auth/schedule{
"shifts": [
{
"id": 123,
"employee_id": 123,
"date": "<string>",
"start_time": 123,
"end_time": 123,
"start_time_localized": "<string>",
"end_time_localized": "<string>",
"operational_unit": 123,
"operational_unit_name": "<string>",
"company_name": "<string>",
"location_label": "<string>",
"is_open": true,
"is_published": true,
"is_locked": true,
"comment": "<string>"
}
],
"deputy_employee_id": 123,
"deputy_configured": true,
"message": "<string>",
"staff_id": "<string>",
"error": "<string>",
"error_details": "<string>"
}Returns shifts for the next 7 days. Supports staff_id query param for PIN auth.
curl --request GET \
--url http://localhost:3000/v1/auth/schedule{
"shifts": [
{
"id": 123,
"employee_id": 123,
"date": "<string>",
"start_time": 123,
"end_time": 123,
"start_time_localized": "<string>",
"end_time_localized": "<string>",
"operational_unit": 123,
"operational_unit_name": "<string>",
"company_name": "<string>",
"location_label": "<string>",
"is_open": true,
"is_published": true,
"is_locked": true,
"comment": "<string>"
}
],
"deputy_employee_id": 123,
"deputy_configured": true,
"message": "<string>",
"staff_id": "<string>",
"error": "<string>",
"error_details": "<string>"
}Staff ID for service accounts with PIN auth
"123e4567-e89b-12d3-a456-426614174000"