Autotask icon

Autotask

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

Actions1078

Project Phase → Get Many (Advanced)

AI-generated

Summary

Retrieve multiple Project Phase records from Autotask using an advanced JSON filter query.

Inputs

  • Advanced Filter (required) — A JSON string containing a "filter" array with Autotask API query criteria to filter which Project Phases to return.
  • Get All — Whether to return all matching results or only up to a specified limit.
  • Max Records — Maximum number of Project Phase records to return when not fetching all; valid range is 1 to 500.
  • Add Picklist Labels — Whether to add descriptive "_label" fields for picklist fields with human-readable values.
  • Add Reference Labels — Whether to add descriptive "_label" fields for reference fields with human-readable values.
  • Select Columns Names or IDs — Specify which fields to include in the response; if none selected, all fields are returned, with ID always included.
  • Flatten User-Defined Fields — Whether to bring user-defined fields (UDFs) to the top level of each returned object instead of nested inside an array.

Output shape

a list of Project Phase records matching the provided filter, each including requested fields and optional label fields as configured

Supports pagination via 'Get All' and 'Max Records' parameters. Requires a valid advanced JSON filter query in the specified format to define the search criteria. Returned data includes ID fields always; labels for picklist/reference fields and user-defined fields are optional based on input parameters.

Examples

Example 1: Fetch up to 50 Project Phases with a specific status

Set 'Get All' to false, 'Max Records' to 50, and provide an 'Advanced Filter' JSON string targeting phases with desired criteria. Optionally select columns to limit fields returned.

Links

Discussion