Autotask icon

Autotask

Consume Autotask REST API

Actions389

Overview

This node interacts with the Autotask REST API to perform operations on Contract Blocks, specifically supporting a 'Count' operation. It allows users to count the number of contract blocks matching specified criteria. This is useful for reporting, monitoring, or conditional workflows where the number of contract blocks needs to be known without retrieving full details.

Properties

Name Meaning
Fields Defines which fields of the contract blocks to map or filter on when performing the count operation. This property supports resource mapping to specify the exact fields relevant to the count query.

Output

JSON

  • count - The total number of contract blocks that match 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 about unsupported resource or operation, verify that 'Contract Block' resource and 'Count' operation are correctly selected.
  • Authentication errors indicate issues with the provided Autotask API credentials; ensure they are valid and have sufficient permissions.
  • Incorrect or incomplete field mappings in the 'Fields' property may cause the count to be inaccurate or the request to fail; verify the fields are valid for contract blocks.
  • Network or API rate limit errors may occur; check network connectivity and Autotask API usage limits.

Discussion