Autotask icon

Autotask

Consume Autotask REST API

Actions389

Overview

This node interacts with the Autotask REST API to perform various operations on the 'Contract Service' resource, including counting contract service records. It is useful for users who want to retrieve the number of contract services matching certain criteria within their Autotask environment. For example, a user might count contract services to monitor service usage or to trigger workflows based on the number of active contract services.

Properties

Name Meaning
Fields Defines which fields to map or include when performing operations such as create, update, getMany, or count on the contractService resource. This property allows users to specify the data fields relevant to their operation.

Output

JSON

  • count - The total number of contract service 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 stating 'Resource contractService is not supported', verify that the resource name is correctly set to 'contractService'.
  • Authentication errors may occur if the Autotask API credentials are missing or invalid. Ensure valid credentials are configured in the node.
  • If the count operation returns zero unexpectedly, check the filter criteria or fields mapping to ensure they match existing contract service records.
  • Network or API rate limit errors can occur; verify network connectivity and Autotask API usage limits.

Discussion