Autotask icon

Autotask

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

Actions524

Contract Block → Count (Advanced)

AI-generated

Overview

This node interacts with Kaseya's Autotask PSA REST API to perform an advanced count operation on Contract Blocks. It allows users to specify a complex filter using a JSON string to query Contract Blocks based on specific criteria. This is useful for scenarios where users need to count Contract Blocks that meet detailed conditions, such as filtering by date ranges, statuses, or other attributes defined in the Autotask API.

Use Case Examples

  1. Count the number of Contract Blocks that are active and have a specific attribute value.
  2. Use an advanced JSON filter to count Contract Blocks created within a certain time frame.

Properties

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

Output

JSON

  • count - The number of Contract Blocks matching the advanced filter criteria.

Dependencies

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

Troubleshooting

  • Ensure the JSON string in the Advanced Filter is correctly formatted and follows the Autotask API query syntax.
  • If the count operation returns zero unexpectedly, verify the filter criteria to ensure they match existing Contract Blocks.
  • Authentication errors may occur if the API key or credentials are invalid or expired; verify and update credentials as needed.

Links

Discussion