Autotask icon

Autotask

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

Actions1078

Contract Role Costs → Get Many (Advanced)

AI-generated

Summary

Retrieve Contract Role Costs records from Autotask using an advanced JSON filter. Choose how many results to return and optionally select fields or add human-readable labels and flatten user-defined fields.

Inputs

  • Get All — When enabled, return all matching records; otherwise, Max Records sets the limit (default 10, range 1–500).
  • 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.
  • Select Columns Names or IDs. — Choose response fields; leave empty to return all fields. The ID field is always included.
  • Add Picklist Labels — When enabled (default), add _label fields with human-readable values for non-empty picklist fields.
  • Add Reference Labels — When enabled (default), add _label fields with human-readable values for non-empty reference fields.
  • Flatten User-Defined Fields — When enabled, place user-defined fields at the top level of each record instead of nesting them in userDefinedFields.

Output shape

A list of matching Contract Role Costs records.

Returned fields depend on the selected columns; the ID is always included. The maximum is 500 records when Get All is disabled. Label fields and flattened user-defined fields depend on their respective options.

Links

Discussion