Regelarbeitszeiten eines Mitarbeiters abrufen
Mit diesem Endpunkt können Sie die Regelarbeitszeiten eines Mitarbeiters abrufen.
Request
GET /api/v1/employees/:username/regular-working-times
curl --request GET \
--url 'https://www.zep-online.de/zepinstanz/next/api/v1/employees/alexandrea.stroman/regular-working-times' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {token}'
Response
{
"data": [
{
"id": 3,
"employee_id": "alexandrea.stroman",
"start_date": "2014-10-16T00:00:00.000000Z",
"monday": 8,
"tuesday": 8,
"wednesday": 4,
"thursday": 8,
"friday": 6,
"saturday": 0,
"sunday": 0,
"is_monthly": true,
"monthly_hours": 150.34,
"max_hours_in_month": 137.51,
"max_hours_in_week": 74.25,
"holidayCalendar": {
"id": 3,
"name": "Mallory Toy",
"note": "Facilis enim quo facilis et. Amet aperiam voluptas iure earum dolorem reprehenderit. Eligendi similique eos ut et delectus.",
"country": "Northern Mariana Islands",
"region": "East Tabitha",
"created": "2023-12-29T13:04:32.000000Z",
"modified": "2023-12-29T13:04:32.000000Z"
},
"breakRegulationType": {
"id": 3,
"name": "Prof. Tyson Renner",
"created": "2023-12-29T13:04:32.000000Z",
"modified": "2023-12-29T13:04:32.000000Z"
}
},
{
"id": 2
// ...
}
]
}