Autotask icon

Autotask

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

Actions1078

Department → Get Many (Advanced)

AI-generated

Summary

Retrieves Autotask Department records that match a JSON query filter. You can return all matching records or cap the result count, and choose which fields and labels to include.

Inputs

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

Output shape

A list of matching Department records

The selected fields and label options affect each record's fields. Results are limited by Max Records unless Get All is enabled.

Links

Discussion