Autotask icon

Autotask

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

Actions1078

Resource Role → Get Many

AI-generated

Summary

Retrieve multiple Resource Role records from Autotask with options to return all or limit the number of records, customize which fields are returned, and include human-readable labels for picklist and reference fields.

Inputs

  • Get All — Boolean option to return all Resource Role records or limit the number of results.
  • Max Records — Maximum number of Resource Role records to return when 'Get All' is false (1-500).
  • Add Picklist Labels — Whether to add '_label' fields containing human-readable values for picklist fields (added only for non-empty values). Defaults to true.
  • Add Reference Labels — Whether to add '_label' fields containing human-readable values for reference fields (added only for non-empty values). Defaults to true.
  • Select Columns Names or IDs. — Specify which fields to include in the response by choosing from the list or providing IDs via expression. If none selected, all fields are returned. ID field is always included.
  • Flatten User-Defined Fields — When true, brings user-defined fields from the nested userDefinedFields array to the top level of each object.
  • Fields (required) — Mapping of fields to include in the response, supporting auto-mapping and selection of specific fields for the Resource Role resource.

Output shape

a list of Resource Role objects

Returns an array of Resource Role JSON objects. The number of records depends on 'Get All' and 'Max Records' inputs. Selected fields and label additions reflect the input options. Errors may be returned per item if 'Continue On Fail' is enabled.

Examples

Example 1: Retrieve up to 50 Resource Roles with picklist and reference labels and specific selected fields

Set 'Get All' to false, 'Max Records' to 50, select specific columns and keep 'Add Picklist Labels' and 'Add Reference Labels' enabled.

Links

Discussion