Autotask icon

Autotask

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

Actions524

Contract Role Costs → Count (Advanced)

AI-generated

Overview

This node operation counts the number of Contract Role Costs in Kaseya's Autotask PSA system that match an advanced filter criteria provided by the user. It is useful for scenarios where users need to get a count of contract role cost records based on complex query conditions, such as filtering by specific fields or values using the Autotask API's advanced query capabilities.

Use Case Examples

  1. Count the number of contract role costs where the cost exceeds a certain threshold.
  2. Get the count of contract role costs associated with a specific contract or role using a JSON filter.

Properties

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

Output

JSON

  • count - The total number of contract role costs matching the advanced filter criteria.

Dependencies

  • Requires an API key credential for Kaseya's Autotask PSA REST API to authenticate requests.

Troubleshooting

  • Ensure the Advanced Filter JSON is correctly formatted and follows the Autotask API query syntax to avoid errors.
  • If the node throws an error about unsupported resource or operation, verify that the resource is set to 'Contract Role Costs' and operation to 'Count (Advanced)'.
  • Authentication errors may occur if the API credentials are missing or invalid; check the Autotask API credentials configuration.

Links

Discussion