Autotask icon

Autotask

Consume Autotask REST API

Actions389

Overview

This node interacts with the Autotask REST API to perform operations related to Contract Ticket Purchases, specifically supporting the 'Count' operation. It allows users to count the number of contract ticket purchase records that match specified criteria. This is useful for reporting, monitoring, or conditional workflows where the number of ticket purchases under contracts needs to be evaluated. For example, a user might count how many ticket purchases exist for a particular contract or within a date range to trigger alerts or further processing.

Properties

Name Meaning
Fields Defines which fields of the Contract Ticket Purchase resource to map or use in the operation. This property supports resource mapping with options to define fields manually or auto-map them, enabling precise control over the data involved in the count operation.

Output

JSON

  • count - The total number of Contract Ticket Purchase records matching the specified criteria.

Dependencies

  • Requires an Autotask API key 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 'contractTicketPurchase'.
  • Authentication errors may occur if the Autotask API credentials are missing or invalid; ensure valid API credentials are configured.
  • Incorrect or incomplete field mappings in the 'Fields' property may cause unexpected results or errors; verify the fields selected are valid for the Contract Ticket Purchase resource.
  • Network or API rate limit issues can cause failures; check network connectivity and Autotask API usage limits.

Discussion