Autotask icon

Autotask

Consume Autotask REST API

Actions389

Overview

This node interacts with the Autotask REST API to perform operations on Contract Service Units, specifically supporting a 'Count' operation. It allows users to count the number of contract service unit records that match specified criteria. This is useful for workflows that need to aggregate or monitor contract service unit data, such as reporting the total number of service units under certain contracts or conditions.

Properties

Name Meaning
Fields Defines which fields of the Contract Service Unit resource to map or consider when performing the count operation. This property uses a resource mapper to select and map fields relevant to the contract service unit resource.

Output

JSON

  • count - The total number of Contract Service Unit records matching the specified criteria.

Dependencies

  • Requires an Autotask API credential (API key or token) to authenticate requests to the Autotask REST API.

Troubleshooting

  • If the node throws an error indicating the resource is not supported, verify that the 'resource' parameter is set to 'contractServiceUnit'.
  • Authentication errors may occur if the Autotask API credentials are missing or invalid; ensure credentials are correctly configured.
  • If the count result is zero unexpectedly, check the field mappings and filters to ensure they correctly specify the intended records.
  • Network or API rate limit errors may occur; verify network connectivity and Autotask API usage limits.

Discussion