Autotask icon

Autotask

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

Actions1078

Contract Ticket Purchase → Get Many (Advanced)

AI-generated

Summary

Retrieves Contract Ticket Purchase records from Autotask using an advanced JSON filter. Choose whether to return all matches or cap the results, and optionally select fields and add human-readable labels or flatten user-defined fields.

Inputs

  • advancedFilter (required) — JSON string containing a filter array of Autotask query criteria. Use Get Field Info to check field names and Search Filter Build to construct the filter.
  • returnAll — When false, limits the response to maxRecords; when true, returns all matching records. Defaults to false.
  • maxRecords — Maximum records to return when returnAll is false; accepts 1–500 and defaults to 10.
  • selectColumns — Fields to include. If none are selected, all fields are returned; the ID field is always included.
  • addPicklistLabels — When enabled, adds _label fields with human-readable values for non-empty picklist fields. Defaults to true.
  • addReferenceLabels — When enabled, adds _label fields with human-readable values for non-empty reference fields. Defaults to true.
  • flattenUdfs — When enabled, moves user-defined fields from the userDefinedFields array to the top level of each returned object. Defaults to false.

Output shape

A list of matching Contract Ticket Purchase records, each as an n8n item.

Returned fields depend on selectColumns; the ID is always included. Advanced filter criteria determine which records match.

Links

Discussion