Autotask icon

Autotask

Interact with Kaseya's Autotask PSA REST API to manage companies, tickets, contracts, and more.

Actions524

Contract Service Bundle → Count (Advanced)

AI-generated

Overview

This node operation counts the number of Contract Service Bundle records in Kaseya's Autotask PSA system that match advanced filter criteria provided by the user. It is useful for scenarios where users need to get a count of specific contract service bundles based on complex query conditions, such as filtering by certain fields or attributes defined in the Autotask API.

Use Case Examples

  1. Count the number of contract service bundles where the status is 'Active' and the start date is within the last year.
  2. Get a count of contract service bundles associated with a particular contract or customer using advanced filter criteria.

Properties

Name Meaning
Advanced Filter A JSON string containing a "filter" array with Autotask API query criteria to specify which contract service bundles to count. This allows for complex and precise filtering based on the Autotask API's supported query syntax.

Output

JSON

  • count - The total number of contract service bundles matching the advanced filter criteria.

Dependencies

  • Requires an API key credential for Kaseya's Autotask PSA REST API to authenticate and perform the count operation.

Troubleshooting

  • Ensure the Advanced Filter JSON is correctly formatted and follows the Autotask API query syntax to avoid errors.
  • Verify that the API credentials are valid and have sufficient permissions to access contract service bundle data.
  • Common error messages may include authentication failures or invalid filter syntax; resolving these involves checking credentials and filter JSON structure.

Links

  • Autotask API Basic Query Calls - Official documentation for constructing query filters for Autotask API calls, useful for building the Advanced Filter JSON.

Discussion