List public holiday and custom day patterns
list_public_holidaysLists public holiday patterns by ID and name, with optional custom day patterns, to help you identify holiday groups configured in the absence system.
Instructions
The public holiday patterns held in the system (for example 'UK Public Holidays') and, with include_custom_days, the custom day patterns (for example 'Christmas Shutdown'), as id and name. The API lists the patterns only; the dates inside a pattern are not exposed by API V2.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_custom_days | No | Also list custom day patterns | |
| include_contact_details | No | Include nothing extra (pattern names are the system's own text), and stop redacting email addresses, phone numbers and UK postcodes typed into names and other text |