Autotask icon

Autotask

Consume Autotask REST API

Actions389

Overview

This node interacts with the Autotask REST API to retrieve multiple Contract Service Bundle Unit records. It supports fetching many records with options to return all or limit the number of records, select specific fields, and enhance the output with human-readable labels for picklist and reference fields. This is useful for users who need to bulk retrieve contract service bundle unit data for reporting, integration, or automation purposes.

Properties

Name Meaning
Fields Defines which fields of the Contract Service Bundle Unit resource to retrieve and map in the output. Supports custom mapping and auto-mapping of fields.
Get All Determines whether to return all available records or limit the output to a maximum number.
Max Records Specifies the maximum number of 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.
Add Reference Labels If enabled, adds additional fields with '_label' suffix containing human-readable labels for reference fields.
Select Columns Names or IDs. Allows selection of specific 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 brought to the top level of each object instead of being nested inside a userDefinedFields array.

Output

JSON

  • id - Unique identifier of the contract service bundle unit.
    - Selected fields of the contract service bundle unit as specified by the 'Fields' property._label - Human-readable label for picklist or reference fields if 'Add Picklist Labels' or 'Add Reference Labels' is enabled.userDefinedFields - User-defined fields nested inside userDefinedFields array, unless 'Flatten User-Defined Fields' is enabled.

Dependencies

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

Troubleshooting

  • If the node returns an error about unsupported resource, verify that the resource is set to 'contractServiceBundleUnit'.
  • If no records are returned, check the field mappings and filters to ensure they match existing data.
  • If the node times out or returns partial data, consider enabling 'Get All' to retrieve all records or increasing the 'Max Records' limit up to 500.
  • Errors related to authentication indicate issues with the provided API key credential; verify and update the credential as needed.
  • If picklist or reference labels are missing, ensure the corresponding 'Add Picklist Labels' and 'Add Reference Labels' options are enabled.

Discussion