API ReferenceCalendar Holidays
Get All Calendar Holidays
GET
Returns the holiday calendars of the company. Which calendar applies to an employee: POST /api/v1/calendar-holidays/employees/search. Requires permission manage_holidays=edit.
HttpBearerAuthheader
AuthorizationBearer <JWT>Successful Response
application/json- response
[index: integer]?curl -X GET 'https://api.skailer.com/api/v1/calendar-holidays'Example Response200
[ { "id": 0, "title": "string", "country": { "id": 0, "title": "string" } }]Search Audit Logs POST
Requires permission `audit_log_read=view`
Search Calendar Holiday Dates POST
Returns the dates of holiday calendars between `date_from` and `date_to` inclusive, at most 366 days. Empty `calendar_holiday_ids` returns the dates of all calendars. `type`: `non_working` is a public holiday, a day off; `working` is a working day moved onto a weekend; `compensated` is a day off moved from a public holiday that fell on a weekend. Requires permission `manage_holidays=edit`.
