Autotask icon

Autotask

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

Actions1078

Ticket Change Request Approval → Get Many (Advanced)

AI-generated

Summary

Queries Autotask for Ticket Change Request Approval records using a required advanced JSON filter with Autotask API query criteria, supporting field filtering, pagination, and label options. It validates the 'MaxRecords' parameter in the advanced filter to be an integer between 1 and 500 to avoid API errors.

Inputs

  • Get All — When enabled, return all matching records; otherwise, Max Records sets the limit (default 10, range 1–500).
  • Advanced Filter (required) — A JSON string containing a filter array of Autotask query criteria. Use Get Field Info to confirm field names or Search Filter Build to construct the filter.
  • Add Picklist Labels — Defaults to enabled; adds _label fields with human-readable values for non-empty picklist fields.
  • Add Reference Labels — Defaults to enabled; adds _label fields with human-readable values for non-empty reference fields.
  • Select Columns Names or IDs. — Choose fields to include, or specify field IDs. If none are selected, all fields are returned; the ID field is always included.
  • Flatten User-Defined Fields — Defaults to disabled; when enabled, moves user-defined fields to the top level of each returned object instead of leaving them in the userDefinedFields array.

Output shape

A list of matching records

The results are limited by Max Records unless Get All is enabled. Selected columns control returned fields, with the ID always included; label and UDF options affect record fields.

Examples

Example 1: Find pending approvals for a particular ticket

Set Advanced Filter to criteria for the relevant ticket and approval status; enable Get All if the matching set may exceed the configured Max Records.

Links

Discussion