Autotask icon

Autotask

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

Actions524

Contract Service → Count (Advanced)

AI-generated

Overview

This node interacts with Kaseya's Autotask PSA REST API to perform an advanced count operation on Contract Service resources. It allows users to specify complex filtering criteria using a JSON string to count Contract Service records that match the given conditions. This is useful for scenarios where users need to get the number of Contract Services meeting specific criteria, such as filtering by service type, status, or other attributes defined in Autotask.

Use Case Examples

  1. Count the number of Contract Services that are active and belong to a specific contract type.
  2. Retrieve the count of Contract Services with a particular billing rule or adjustment applied.

Properties

Name Meaning
Advanced Filter A JSON string containing a "filter" array with Autotask API query criteria to specify the conditions for counting Contract Service records.

Output

JSON

  • count - The total number of Contract Service records matching the advanced filter criteria.

Dependencies

  • Requires an API key credential for Autotask PSA REST API authentication.

Troubleshooting

  • Ensure the Advanced Filter JSON string is correctly formatted and follows the Autotask API query criteria syntax.
  • Common errors may include invalid JSON format or unsupported filter fields; use the 'Get Field Info' and 'Search Filter Build' tools to construct valid filters.
  • API authentication errors may occur if the API key or credentials are incorrect or expired.

Links

Discussion