Autotask icon

Autotask

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

Actions1078

Survey → Get Many (Advanced)

AI-generated

Summary

Retrieves Autotask Survey records that match a user-defined JSON query filter. It supports returning all matched records or limiting the number returned, with a strict validation on the 'MaxRecords' value inside the advanced filter to be an integer between 1 and 500, preventing ambiguous API errors. You can specify fields to retrieve, and optionally add human-readable labels for picklist and reference fields, and flatten user-defined fields.

Inputs

  • Advanced Filter (required) — A JSON string containing a filter array of Autotask query criteria. Use Get Field Info to confirm field names; Search Filter Build can help construct the filter.
  • Get All — When enabled, returns all matching records. Otherwise, Max Records sets the result limit (default 10; range 1–500).
  • Select Columns Names or IDs. — Choose fields to include. If none are selected, all fields are returned; the ID field is always included.
  • Add Picklist Labels — When enabled (default), adds _label fields with human-readable values for non-empty picklist fields.
  • Add Reference Labels — When enabled (default), adds _label fields with human-readable values for non-empty reference fields.
  • Flatten User-Defined Fields — When enabled, moves user-defined fields from the userDefinedFields array to the top level of each record. Disabled by default.

Output shape

A list of Autotask Survey records, one item per record.

Returned records contain the selected fields, or all fields if no columns are selected; ID is always included. Optional label fields and flattened user-defined fields depend on their settings.

Links

Discussion