Autotask icon

Autotask

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

Actions1078

User Defined Field Definition → Get

AI-generated

Summary

Retrieve a specific User Defined Field Definition from Autotask by its unique ID.

Inputs

  • User Defined Field Definition ID (required) — Specify the unique ID of the user-defined field definition to retrieve.
  • Add Picklist Labels — Optionally add "_label" fields with human-readable values for picklist fields when set to true (defaults to true).
  • Add Reference Labels — Optionally add "_label" fields with human-readable values for reference fields when set to true (defaults to true).
  • Select Columns Names or IDs. — Optionally specify which fields to include in the response by selecting from the list or using expressions. If nothing is selected, all fields are returned. The ID field is always included.
  • Flatten User-Defined Fields — When enabled, user-defined fields (UDFs) are moved to top-level properties instead of nested inside the userDefinedFields array.

Output shape

a single item containing the requested User Defined Field Definition object with fields as specified.

The returned object always includes the ID field. Additional human-readable label fields (_label suffix) may be added for picklist and reference fields based on input options. If 'Select Columns' is used, only specified fields and ID are included. User-defined fields can be flattened to top-level properties if enabled.

Examples

Example 1: Retrieve User Defined Field Definition by ID with default label settings

Set 'User Defined Field Definition ID' to the target ID, leave other options as default.

Links

Discussion