Get An Employment Period
You can use this endpoint to call up a specific employment period for an employee.
Request
GET /api/v1/employees/:username/employment-period/:id
curl --request GET \
--url 'https://www.zep-online.de/zepinstanz/next/api/v1/employees/alexandrea.stroman/employment-periods/38' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {token}'
Response
{
"data": {
"id": 38,
"employee_id": "alexandrea.stroman",
"start_date": "2020-03-12T00:00:00.000000Z",
"end_date": "2024-01-27T00:00:00.000000Z",
"note": "Reprehenderit qui neque aliquid exercitationem est voluptatem et.",
"beginning_of_year": "2023-12-21T00:00:00.000000Z",
"annual_leave_entitlement": 27.09,
"period_holiday_entitlement": 26.3,
"is_holiday_per_year": true,
"day_absent_in_hours": 14.16,
"created": "2023-12-29T13:04:32.000000Z",
"modified": "2023-12-29T13:04:32.000000Z"
}
}