Autotask icon

Autotask

Consume Autotask REST API

Actions389

Overview

This node operation retrieves multiple holiday records from the Autotask system. It is useful for workflows that need to access a list of holidays, for example, to display upcoming holidays, synchronize holiday data with other systems, or perform reporting and analytics on holiday schedules. Users can specify which fields to retrieve, limit the number of records, and choose whether to include human-readable labels for picklist and reference fields.

Properties

Name Meaning
Fields Defines which fields of the holiday records to retrieve and map in the output. Supports custom mapping and auto-mapping of fields.
Get All Determines whether to return all holiday records or limit the results to a specified maximum number.
Max Records Specifies the maximum number of holiday records to return when 'Get All' is false. The value must be between 1 and 500.
Add Picklist Labels If enabled, adds additional fields with '_label' suffix containing human-readable labels for picklist fields in the holiday records.
Add Reference Labels If enabled, adds additional fields with '_label' suffix containing human-readable labels for reference fields in the holiday records.
Select Columns Names or IDs. Allows selection of specific fields to include in the response. If no fields are selected, all fields are returned. The ID field is always included.
Flatten User-Defined Fields If enabled, user-defined fields (UDFs) are brought to the top level of each holiday object instead of being nested inside a userDefinedFields array.

Output

JSON

  • id - Unique identifier of the holiday record.
    fields - Values of the selected fields for each holiday record as specified by the Fields property._label - Human-readable labels for picklist or reference fields if Add Picklist Labels or Add Reference Labels is enabled.userDefinedFields - User-defined fields nested inside the userDefinedFields array, unless Flatten User-Defined Fields is enabled.

Dependencies

  • Requires an API key credential for Autotask REST API authentication.

Troubleshooting

  • If no records are returned, verify that the Autotask API credentials are correct and have sufficient permissions to access holiday data.
  • If the node returns an error about unsupported resource or operation, ensure that the Resource is set to 'Holiday' and Operation to 'Get Many'.
  • If the maximum records limit is exceeded, reduce the Max Records value or enable 'Get All' to retrieve all records.
  • If field mapping fails, check that the selected fields exist in the Autotask holiday resource and that the mapping is correctly defined.

Discussion