Autotask icon

Autotask

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

Actions1078

Purchase Order → Get Many

AI-generated

Summary

Retrieve multiple purchase orders from Autotask with options to limit the number of records returned and customize the response fields and labels.

Inputs

  • Get All — Boolean to specify whether to return all purchase orders or limit the number returned.
  • Max Records — Number to specify the maximum records to retrieve when Get All is false. Range 1-500.
  • Add Picklist Labels — Boolean to add human-readable "_label" fields for picklist fields in the response.
  • Add Reference Labels — Boolean to add human-readable "_label" fields for reference fields in the response.
  • Select Columns Names or IDs — List of specific fields (by name or ID) to include in the response. If empty, all fields are returned except as restricted. The ID field is always included.
  • Flatten User-Defined Fields — Boolean to flatten user-defined fields to top-level properties instead of nested under userDefinedFields.
  • Fields (required) — Definition of fields to map and include in the returned purchase order objects.

Output shape

a list of purchase order objects

Returns an array of purchase order data objects matching the requested fields and label options. Supports pagination via Max Records if Get All is false, else returns all. Each object always contains its ID. Labels are added only if requested and for non-empty values. User-defined fields are nested or flattened per input.

Examples

Example 1: Retrieve up to 50 purchase orders with all fields and picklist labels

Set 'Get All' to false, 'Max Records' to 50, leave fields empty to include all, and 'Add Picklist Labels' enabled.

Links

Discussion