Autotask icon

Autotask

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

Actions1078

Service Call → Get Many

AI-generated

Summary

Retrieve multiple Service Call records from Autotask according to specified parameters, optionally returning all records or limiting the number of results.

Inputs

  • Return All — Boolean indicating whether to return all matching Service Call records. Defaults to false.
  • Max Records — Maximum number of Service Call records to return when 'Return All' is false. Valid range is 1 to 500. Default is 10.
  • Add Picklist Labels — Whether to add additional "_label" fields for picklist fields with their human-readable values. Defaults to true.
  • Add Reference Labels — Whether to add additional "_label" fields for reference fields with human-readable values. Defaults to true.
  • Select Columns Names or IDs — Select specific fields by name or ID to include in the response. If no fields are selected, all fields are returned (the ID field is always included).
  • Flatten User-Defined Fields — Whether to flatten user-defined fields (UDFs) to top-level properties instead of nested under userDefinedFields. Defaults to false.
  • Fields (required) — Defines the mapping and selection of fields to include in the retrieved Service Call records.

Output shape

a list of objects representing Service Call records

The output is an array of Service Call records with fields according to the selected columns and mapping. If 'Return All' is true, all available records are returned; otherwise, the number of records is limited to 'Max Records'. Picklist and reference fields may include additional '_label' fields if enabled. User-defined fields can be optionally flattened for easier access.

Examples

Example 1: Retrieve up to 50 Service Calls with default labels and all fields.

Return All: false; Max Records: 50; Add Picklist Labels: true; Add Reference Labels: true; Select Columns: none; Flatten UDFs: false

Example 2: Retrieve all Service Calls with specific fields and flattened UDFs.

Return All: true; Select Columns: specified field IDs; Flatten UDFs: true

Links

Discussion