Autotask icon

Autotask

Consume Autotask REST API

Actions389

Overview

This node interacts with the Autotask REST API to perform operations on Contract Billing Rules, specifically supporting the 'Count' operation. It allows users to count the number of contract billing rules that match specified criteria. This is useful for reporting, monitoring, or conditional workflows where the number of billing rules needs to be known or validated. For example, a user might count contract billing rules to determine how many active billing rules exist before creating new ones or to trigger alerts if the count exceeds a threshold.

Properties

Name Meaning
Fields Defines which fields of the Contract Billing Rule resource to map or use in the operation. This property supports resource mapping with options to define fields manually or auto-map them, enabling users to specify the exact data points relevant for the count operation.

Output

JSON

  • count - The total number of Contract Billing Rules matching the specified criteria.

Dependencies

  • Requires an Autotask API credential for authentication to access 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 'contractBillingRule'.
  • Authentication errors may occur if the Autotask API credentials are missing or invalid; ensure valid credentials are configured.
  • If the count result is unexpected, check the field mappings and filters applied to ensure they correctly represent the intended query criteria.
  • Network or API rate limit errors can occur; verify network connectivity and Autotask API usage limits.

Discussion