PublicHolidays
Get a List of Public Holidays
Get a collection of public holidays for your organisation.
Results are always scoped to your organisation, so a filter that matches nothing — an unknown country code, user or public holiday set, or a user in another organisation — returns an empty list rather than an error.
get/api/publicholidays
Request
- Base URL: https://app.timetastic.co.uk (the document declares no server; this is the origin it was published from)
- URL: https://app.timetastic.co.uk/api/publicholidays
- Auth: none declared
Query parameters
countryCodestring
An optional country code to filter the public holidays to.
yearinteger
An optional year to filter the public holidays to.
userIdinteger
An optional user id to filter the public holidays to.
bankHolidaySetIdinteger
An optional bank holiday set to filter the public holidays to.
useOrgLeaveYearboolean
An optional param to specify if we want public holidays for the user's leave year.
Response
The matching public holidays. An empty list if nothing matched the filter.
Changes
No recorded changes to this operation across all 1 revision of this API.