Discussions
Get employee public holidays from calendar
3 months ago by Frank Dase
Hi,
if I get the employee data from the API by accessing this: https://api.personio.de/v1/company/employees/12344 then I get a node with holiday_calendar.
This contains an ID. This is what I need, but the question is, how can I receive this calendar from the API?
"holiday_calendar": {
"label": "Public holidays",
"value": {
"type": "HolidayCalendar",
"attributes": {
"id": 6562,
"name": "DE (NRW) Feiertage",
"country": "DE",
"state": "NRW"
}
},
"type": "standard",
"universal_id": "holiday_calendar"
}
Thanks in Advance
Frank