Autotask icon

Autotask

Consume Autotask REST API

Actions389

Overview

The 'Service Call' resource with the 'Get Many' operation allows users to retrieve multiple service call records from the Autotask system. This operation is useful for scenarios where bulk data retrieval is needed, such as generating reports, syncing service call data with other systems, or analyzing service call trends. For example, a user might fetch all service calls within a date range or retrieve a limited number of recent service calls for dashboard display.

Properties

Name Meaning
Fields Defines which fields of the service call records to retrieve and map in the output. Supports custom mapping and selection of specific fields.
Get All Determines whether to return all matching service call records or limit the number of records returned.
Max Records Specifies the maximum number of service call records to return when 'Get All' is false. Value range is 1 to 500.
Add Picklist Labels If enabled, adds additional fields with human-readable labels for picklist fields in the service call data.
Add Reference Labels If enabled, adds additional fields with human-readable labels for reference fields in the service call data.
Select Columns Names or IDs. Allows selection of specific fields (columns) to include in the response. If none selected, all fields are returned. The ID field is always included.
Flatten User-Defined Fields If enabled, user-defined fields (UDFs) are promoted to top-level properties in each service call object instead of being nested inside a userDefinedFields array.

Output

JSON

  • id - Unique identifier of the service call record
    - Requested service call fields as specified in the 'Fields' property_label - Human-readable labels for picklist or reference fields if enableduserDefinedFields - User-defined fields nested or flattened depending on 'Flatten User-Defined Fields' setting

Dependencies

  • Requires an authenticated connection to the Autotask REST API via an API key credential.

Troubleshooting

  • If no records are returned, verify that the query parameters and field mappings are correct and that the Autotask account has service call data available.
  • Errors related to authentication indicate issues with the API key credential; ensure it is valid and has necessary permissions.
  • Selecting too many fields or requesting all records without limits may cause performance issues or timeouts; consider limiting the number of records or fields.
  • If picklist or reference labels are not appearing, check that the corresponding options ('Add Picklist Labels' and 'Add Reference Labels') are enabled.

Discussion