Autotask icon

Autotask

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

Actions1078

Department → Get Many

AI-generated

Summary

Retrieves Autotask department records, returning either all results or up to a configured limit. You can choose returned columns and optionally add readable labels or flatten user-defined fields.

Inputs

  • Get All — When enabled, returns all matching department records. When disabled, Max Records sets the limit (default 10; range 1–500).
  • Add Picklist Labels — Adds _label fields with human-readable values for non-empty picklist fields; enabled by default.
  • Add Reference Labels — Adds _label fields with human-readable values for non-empty reference fields; enabled by default.
  • Select Columns Names or IDs — Choose fields to include, or specify field IDs with an expression. If none are selected, all fields are returned; the ID field is always included.
  • Flatten User-Defined Fields — When enabled, brings user-defined fields to the top level of each returned object instead of leaving them in the userDefinedFields array; disabled by default.
  • Fields (required) — Configure fields using the resource mapper. The provided properties do not establish how this mapping affects records retrieved by Get Many.

Output shape

A list of department records.

The result count depends on Get All or Max Records. Selected columns affect the returned fields, with the ID always included; label fields and flattened user-defined fields depend on their options.

Links

Discussion