Autotask icon

Autotask

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

Actions1078

Contract Service → Get Many (Advanced)

AI-generated

Summary

Query Autotask Contract Service records using a JSON filter array of API criteria. Choose whether to return all matches or cap the result count, and optionally select response fields or add human-readable labels and flatten user-defined fields.

Inputs

  • Get All — When enabled, returns all matching records; when disabled, Max Records sets the cap (default 10, allowed 1–500).
  • Advanced Filter (required) — A JSON string containing a filter array with Autotask API 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. — Optionally choose fields for the response. 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 from the userDefinedFields array to the top level of each object.

Output shape

A list of matching Contract Service records.

The selected field set and label/flattening options affect each record. When Get All is disabled, the list is limited by Max Records.

Links

Discussion