Autotask icon

Autotask

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

Actions1078

Time Off Request → Get Many (Advanced)

AI-generated

Summary

Retrieves Autotask Time Off Request records that match an advanced API filter. You must provide a JSON string containing a "filter" array of Autotask API query criteria, e.g. generated using Get Field Info and Search Filter Build. Specify whether to return all matching records or limit the results. Note that if you include a "MaxRecords" field in the advanced filter, it must be an integer between 1 and 500, otherwise an error will be thrown. You can optionally specify which fields to include in the response. Human-readable "_label" fields for picklist and reference fields and top-level flattening of user-defined fields are also supported as options.

Inputs

  • Advanced Filter (required) — A JSON string containing a filter array of Autotask API query criteria. Use Get Field Info to check field names or Search Filter Build to construct the filter.
  • Get All — When enabled, returns all matching records; when disabled, limits the results using Max Records (default 10, range 1–500).
  • Select Columns Names or IDs. — Choose the fields to return. If empty, all fields are returned; the ID field is always included.
  • Add Picklist Labels — When enabled (default), adds _label fields with human-readable values for nonempty picklist fields.
  • Add Reference Labels — When enabled (default), adds _label fields with human-readable values for nonempty reference fields.
  • Flatten User-Defined Fields — When enabled, places user-defined fields at the top level of each record instead of in the userDefinedFields array.

Output shape

A list of matching Time Off Request records, one n8n item per record.

The ID field is included even when specific columns are selected. Label fields and flattened user-defined fields depend on their respective options.

Links

Discussion