Productive icon

Productive

Interact with the Productive API

Actions508

Holiday Calendars → Get all holiday calendars

AI-generated

Summary

Retrieve holiday calendars from Productive, either returning all available calendars or a paginated subset based on user parameters.

Inputs

  • Return All — Whether to return all holiday calendars or limit the results.
  • Limit — Maximum number of holiday calendars to return if not returning all.
  • Page Number — Page number to retrieve when limiting results (default is 1).
  • Page Size — Number of holiday calendars returned per page (default 30, max 200) when limiting results.

Output shape

a list of holiday calendar records in JSON format

If 'Return All' is false, the response is paginated according to 'Limit', 'Page Number', and 'Page Size'. Errors are returned in an error JSON object if execution fails and 'continueOnFail' is enabled.

Examples

Example 1: Retrieve all holiday calendars without limiting results

Set 'Return All' to true.

Example 2: Retrieve up to 50 holiday calendars (default) on the first page

Set 'Return All' to false, 'Limit' to 50, 'Page Number' to 1, and 'Page Size' to 30.

Discussion