Autotask icon

Autotask

Consume Autotask REST API

Actions389

Overview

The node interacts with the Autotask REST API to retrieve multiple Contract Block Hour Factor records. It supports fetching either all records or a limited number, with options to select specific fields, add human-readable labels for picklist and reference fields, and flatten user-defined fields for easier access. This is useful for users who need to integrate Autotask contract block hour factor data into workflows, such as reporting, analytics, or synchronization with other systems.

Properties

Name Meaning
Fields Defines which fields of the Contract Block Hour Factor resource to retrieve and map in the output.
Get All Determines whether to return all available Contract Block Hour Factor records or limit the number of records returned.
Max Records Specifies the maximum number of Contract Block Hour Factor 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 output.
Add Reference Labels If enabled, adds additional fields with '_label' suffix containing human-readable labels for reference fields in the output.
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 object instead of being nested inside a userDefinedFields array.

Output

JSON

  • id - Unique identifier of the Contract Block Hour Factor record.
  • fieldName - Various fields of the Contract Block Hour Factor as specified by the selected fields property.
  • fieldName_label - Human-readable labels for picklist or reference fields, if enabled.
  • userDefinedFields - Array of user-defined fields, unless flattened to top-level properties.

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 parameter is set to 'contractBlockHourFactor'.
  • If no records are returned, check the API credentials and permissions to ensure access to Contract Block Hour Factor data.
  • If the maximum records limit is exceeded, reduce the 'Max Records' value or enable 'Get All' to retrieve all records.
  • If field mapping fails, ensure that the selected fields exist and are valid for the Contract Block Hour Factor resource.
  • Network or authentication errors may occur if the API key is invalid or expired; update credentials accordingly.

Discussion