Autotask icon

Autotask

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

Actions524

Service → Count (Advanced)

AI-generated

Overview

This node operation interacts with the Autotask PSA REST API to perform an advanced count query on the 'Service' resource. It allows users to specify complex filtering criteria using a JSON string to count the number of service records that match the given conditions. This is useful for scenarios where users need to get a precise count of services based on specific attributes or conditions, such as counting services with certain statuses, types, or other custom criteria.

Use Case Examples

  1. Count the number of active services with a specific attribute using a JSON filter.
  2. Retrieve the count of services that meet multiple complex conditions for reporting or automation purposes.

Properties

Name Meaning
Advanced Filter A JSON string containing a 'filter' array with Autotask API query criteria to specify the conditions for counting services.

Output

JSON

  • count - The number of 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 contains a valid 'filter' array as per Autotask API documentation.
  • Common errors may include invalid JSON syntax or incorrect field names in the filter criteria. Use the 'Get Field Info' and 'Search Filter Build' tools to verify field names and construct valid filters.
  • API authentication errors may occur if the API key or credentials are missing or incorrect.

Links

Discussion