Autotask icon

Autotask

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

Actions1078

Contract Ticket Purchase → Get Many

AI-generated

Summary

Retrieve multiple Contract Ticket Purchase records from Autotask with options to limit the number of results, select specific fields, and enhance picklist and reference fields with human-readable labels.

Inputs

  • Get All — Whether to return all Contract Ticket Purchase records or limit the results.
  • Max Records — Max number of Contract Ticket Purchase records to return when 'Get All' is false (1-500).
  • Add Picklist Labels — Include '_label' fields for picklist fields containing human-readable values.
  • Add Reference Labels — Include '_label' fields for reference fields containing human-readable values.
  • Select Columns Names or IDs — Specify fields to include in each returned record; if none selected, all fields are returned except the ID field which is always included.
  • Flatten User-Defined Fields — Expose user-defined fields as top-level properties rather than nested under the userDefinedFields array.

Output shape

a list of Contract Ticket Purchase records as JSON objects

The output respects the 'Get All' and 'Max Records' limits; returned records include all fields unless limited by 'Select Columns'. Picklist and reference fields may include additional '_label' fields if enabled. User-defined fields are nested unless 'Flatten User-Defined Fields' is enabled.

Examples

Example 1: Retrieve up to 50 Contract Ticket Purchases with human-readable labels for picklist and reference fields

Set 'Get All' to false, 'Max Records' to 50, and ensure 'Add Picklist Labels' and 'Add Reference Labels' are true. Select desired fields or leave empty for all.

Links

Discussion