Autotask icon

Autotask

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

Actions1078

Company Location → Get Many

AI-generated

Summary

Retrieve company location records from Autotask, returning all records or a limited number. The operation can select response fields, add human-readable labels for picklist and reference values, flatten user-defined fields, and map output fields.

Inputs

  • returnAll — When enabled, return all results; otherwise, limit the result count.
  • maxRecords — Maximum records to return when Get All is disabled; defaults to 10 and accepts 1–500.
  • addPicklistLabels — Defaults to true; adds _label fields with human-readable values for non-empty picklist fields.
  • addReferenceLabels — Defaults to true; adds _label fields with human-readable values for non-empty reference fields.
  • selectColumns — Optional fields to include in each record. If none are selected, all fields are returned; the ID field is always included.
  • flattenUdfs — Defaults to false; when enabled, moves user-defined fields from the userDefinedFields array to top-level properties.
  • fieldsToMap (required) — Choose or map the fields for the returned records.

Output shape

A list of items, each containing a company location record.

The record count depends on Get All and Max Records. Selected columns affect included fields, but the ID is always included.

Links

Discussion