Autotask icon

Autotask

Consume Autotask REST API

Actions389

Overview

The 'Ticket Webhook - Get Many' operation in this node retrieves multiple ticket webhook records from the Autotask REST API. It allows users to fetch a list of ticket webhook entries with control over which fields to include, how many records to return, and whether to include human-readable labels for picklist and reference fields. This operation is useful for scenarios where you need to process or analyze multiple ticket webhook events, such as monitoring ticket updates or integrating ticket webhook data into other systems.

Properties

Name Meaning
Fields Defines which fields of the ticket webhook records to retrieve and map. Supports custom mapping and auto-mapping of fields.
Get All Boolean flag to determine whether to return all available ticket webhook records or limit the number of records returned.
Max Records Specifies the maximum number of ticket webhook records to return when 'Get All' is false. The value can range from 1 to 500.
Add Picklist Labels Determines whether to automatically add additional fields with '_label' suffix for picklist fields, providing human-readable values instead of raw codes.
Add Reference Labels Determines whether to automatically add additional fields with '_label' suffix for reference fields, providing human-readable values.
Select Columns Names or IDs. Allows selection of specific fields to include in the response by choosing from a list or specifying field IDs via expressions. If no fields are selected, all fields are returned. The ID field is always included.
Flatten User-Defined Fields When enabled, user-defined fields (UDFs) are brought to the top level of each returned object instead of being nested inside a 'userDefinedFields' array.

Output

JSON

  • id - Unique identifier of the ticket webhook record.
  • fields - The selected fields of the ticket webhook record as specified by the 'Fields' property.
  • *_label - Additional fields with '_label' suffix providing human-readable labels for picklist and reference fields if enabled.
  • userDefinedFields - Array of user-defined fields associated with the ticket webhook record, unless flattened to top-level properties.

Dependencies

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

Troubleshooting

  • If no records are returned, verify that the Autotask API credentials are correct and have sufficient permissions.
  • Ensure that the 'Max Records' value is within the allowed range (1-500) when 'Get All' is false.
  • If expected fields are missing, check the 'Fields' and 'Select Columns' settings to confirm the correct fields are selected.
  • Network or API errors may occur if the Autotask service is unavailable or if rate limits are exceeded; retry after some time or check API usage.

Discussion