Autotask icon

Autotask

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

Actions1078

Contract Block → Get Many (Advanced)

AI-generated

Summary

Query Autotask contract blocks using a JSON filter array of API criteria. Choose whether to return all matches or cap the results, and optionally select fields or add readable labels and flatten user-defined fields.

Inputs

  • Advanced Filter (required) — A JSON string containing a filter array with Autotask API query criteria. Use Get Field Info to check field names or Search Filter Build to construct the filter.
  • Get All — When enabled, return all matching records; otherwise limit the results using Max Records (default 10, range 1–500).
  • Select Columns Names or IDs. — Choose response fields. If none are selected, all fields are returned; the ID field is always included.
  • Add Picklist Labels — When enabled (default), add _label fields with readable values for nonempty picklist fields.
  • Add Reference Labels — When enabled (default), add _label fields with readable values for nonempty reference fields.
  • Flatten User-Defined Fields — When enabled, move user-defined fields from the userDefinedFields array to top-level properties; disabled by default.

Output shape

A list of matching contract block records.

The returned fields depend on the column selection and label/flatten options. Records are limited by Max Records unless Get All is enabled.

Links

Discussion