Autotask icon

Autotask

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

Actions524

Company Location → Count (Advanced)

AI-generated

Overview

This node operation interacts with the Autotask PSA REST API to perform an advanced count query on the Company Location resource. It allows users to specify a complex filter in JSON format to count the number of company locations that meet specific criteria. This is useful for scenarios where users need to get aggregated data or counts based on detailed conditions, such as counting locations with certain attributes or statuses.

Use Case Examples

  1. Count the number of company locations in a specific city or region using a JSON filter.
  2. Get the count of company locations that have a particular custom field value set.
  3. Use advanced filtering to count company locations created within a certain date range.

Properties

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

Output

JSON

  • count - The total number of company locations 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 specifications.
  • If the node returns an error, verify that the API credentials are correct and have sufficient permissions to access company location data.
  • Check the Autotask API documentation for correct field names and filter syntax to avoid query errors.

Links

Discussion