Autotask icon

Autotask

Consume Autotask REST API

Actions389

Overview

This node interacts with the Autotask REST API to retrieve detailed information about a specific holiday by its ID. It is useful for workflows that need to fetch holiday data for scheduling, reporting, or integration purposes. For example, a user can get the details of a holiday to adjust project timelines or automate notifications around company holidays.

Properties

Name Meaning
Holiday ID The unique identifier of the holiday to retrieve.
Add Picklist Labels Determines whether to add human-readable '_label' fields for picklist fields in the response, enhancing readability.
Add Reference Labels Determines whether to add human-readable '_label' fields for reference fields in the response.
Select Columns Names or IDs. Specifies which fields to include in the response. If none are selected, all fields are returned. The ID field is always included.
Flatten User-Defined Fields If enabled, user-defined fields (UDFs) are moved to the top level of the returned object instead of being nested.

Output

JSON

  • id - The unique identifier of the holiday.
  • name - The name of the holiday.
  • date - The date of the holiday.
  • userDefinedFields - An array of user-defined fields related to the holiday, unless flattened.
    _label - Human-readable labels for picklist or reference fields, added if enabled.

Dependencies

  • Requires an Autotask API key credential for authentication to access the Autotask REST API.

Troubleshooting

  • Error: 'Holiday ID' is required - Ensure the Holiday ID parameter is provided and valid.
  • API authentication errors - Verify that the Autotask API credentials are correctly configured and have necessary permissions.
  • Empty or incomplete response - Check if the specified Holiday ID exists and that the API user has access to it.
  • Incorrect field selection - If using 'Select Columns', ensure the field names or IDs are valid for the holiday resource.

Discussion