HaloPSA Complete icon

HaloPSA Complete

Get data from the HaloPSA API

Actions290

Project → Get Many

AI-generated

Summary

Fetches multiple Project records from HaloPSA using flexible filtering and optional inclusion of details, attachments, and custom fields.

Inputs

  • returnAll — When true, fetches all available results; when false, fetches up to the Limit value.
  • limit — Maximum number of results to return (valid when returnAll is false). Minimum value is 1; default is 50.
  • filters — A collection of filter parameters (e.g., Agent Name or ID, Client ID, Status ID, Mine, Closed Only, Open Only, etc.) to narrow results.
  • filtersJson — A JSON object where keys override corresponding keys in the Filters collection. Supports expressions, e.g., {"client_id": {{ $.client_id }}}.
  • includeattachments — When true, includes attachment details in the response.
  • includecustomfields — When true, includes custom fields in the response.
  • includedetails — When true, includes extra objects in the response.
  • includeprojects — Filter on projects (1 = Opportunities not Projects, 2 = Projects not Opportunities, 0 = Neither).

Output shape

A list of project items.

Includes basic project data by default. Attachments, custom fields, and extra objects can be included via flags. Pagination is handled automatically when returnAll is false.

Examples

Example 1: Fetch all open projects for the current user

Set 'Mine' to true and 'Open Only' to true. Leave 'returnAll' unchecked to rely on the default 50-item limit.

Example 2: Retrieve a specific client's closed projects with details

Set 'Client ID' to the target client and 'Closed Only' to true. Set 'includeDetails' to true.

Example 3: Get all projects with attachments and custom fields

Set 'returnAll' to true and check 'Include Attachments' and 'Include Custom Fields'.

Links

Discussion