Autotask icon

Autotask

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

Actions524

Contract Exclusion Sets → Get Many (Advanced)

AI-generated

Overview

This node operation retrieves multiple Contract Exclusion Sets from the Autotask PSA system using advanced filtering criteria. It is useful for scenarios where users need to query and extract detailed contract exclusion set data based on complex conditions, such as filtering by specific fields or attributes defined in a JSON filter. For example, a user might want to fetch all contract exclusion sets that meet certain business rules or compliance requirements.

Use Case Examples

  1. Retrieve all contract exclusion sets with a specific attribute using a JSON filter.
  2. Fetch a limited number of contract exclusion sets for reporting or integration purposes.

Properties

Name Meaning
Get All Whether to return all results or only up to a given limit (returnAll boolean). If false, the number of records returned is limited by Max Records.
Max Records Maximum number of contract exclusion sets to return when Get All is false. Value range is 1 to 500.
Advanced Filter A JSON string containing a "filter" array with Autotask API query criteria to specify complex filtering conditions for retrieving contract exclusion sets.
Add Picklist Labels Whether to automatically add "_label" fields for picklist fields with human-readable values in the response. No labels are added for empty values.
Add Reference Labels Whether to automatically add "_label" fields for reference fields with human-readable values in the response. No labels are added for empty values.
Select Columns Names or IDs. Choose which fields to include in the response. If no fields are selected, all fields will be returned. The ID field is always included regardless of selection.
Flatten User-Defined Fields Whether to bring user-defined fields up to the top level of each object, making them accessible as top-level properties instead of nested in the userDefinedFields array.

Output

JSON

  • id - Unique identifier of the contract exclusion set.
  • name - Name of the contract exclusion set.
  • description - Description of the contract exclusion set.
  • userDefinedFields - Array of user-defined fields associated with the contract exclusion set, if not flattened.
  • _label - Human-readable labels for picklist or reference fields if enabled.

Dependencies

  • Autotask PSA REST API
  • API authentication credentials

Troubleshooting

  • Ensure the JSON in the Advanced Filter is correctly formatted and follows Autotask API query criteria syntax to avoid query errors.
  • If the node returns no results, verify that the filter criteria match existing contract exclusion sets in the Autotask system.
  • Check API credentials and permissions to ensure access to contract exclusion sets data.
  • If the maximum records limit is set too low, increase it or enable Get All to retrieve more data.

Links

Discussion