Autotask icon

Autotask

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

Actions1078

Contract Exclusion Role → Get

AI-generated

Summary

Fetches a single Autotask contract exclusion role by its ID. The response can include picklist and reference labels, selected columns, or flattened user-defined fields according to the options you set.

Inputs

  • Exclusion Role ID (required) — ID of the contract exclusion role to retrieve.
  • Add Picklist Labels — Defaults to true. Adds human-readable _label fields for non-empty picklist values.
  • Add Reference Labels — Defaults to true. Adds human-readable _label fields for non-empty reference values.
  • Select Columns — Choose response fields to include. If none are selected, all fields are returned; the ID is always included.
  • Flatten User-Defined Fields — Defaults to false. When enabled, brings user-defined fields to the top level instead of leaving them in the userDefinedFields array.

Output shape

A single record

The returned fields depend on column selection and the label and UDF options.

Examples

Example 1: Retrieve one exclusion role with its human-readable picklist and reference labels

Set Exclusion Role ID to the target record's ID and leave Add Picklist Labels and Add Reference Labels enabled.

Links

Discussion