Autotask icon

Autotask

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

Actions524

Billing Code → Count (Advanced)

AI-generated

Overview

This node interacts with Kaseya's Autotask PSA REST API to perform an advanced count operation on Billing Codes. It allows users to specify a complex filter using a JSON string to count Billing Codes that match specific criteria. This is useful for scenarios where users need to get the number of Billing Codes meeting detailed conditions, such as filtering by custom fields or multiple attributes.

Use Case Examples

  1. Count the number of Billing Codes where the status is active and the code matches a certain pattern.
  2. Use an advanced JSON filter to count Billing Codes created within a specific date range.

Properties

Name Meaning
Advanced Filter A JSON string containing a "filter" array with Autotask API query criteria to specify which Billing Codes to count.

Output

JSON

  • count - The number of Billing Codes 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 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 filter structure.
  • API authentication errors may occur if the API key or credentials are missing or incorrect.

Links

Discussion