Autotask icon

Autotask

Consume Autotask REST API

Actions389

Overview

This node operation retrieves multiple Contract Milestone records from the Autotask system. It is useful for workflows that need to fetch a list of contract milestones, for example, to display milestone progress, generate reports, or synchronize contract milestone data with other systems. Users can specify which fields to retrieve, limit the number of records, and choose whether to include human-readable labels for picklist and reference fields.

Properties

Name Meaning
Fields Defines which fields of the Contract Milestone resource to retrieve and map in the output. Supports custom mapping and selection of specific fields.
Get All Boolean flag to determine whether to return all matching Contract Milestone records or limit the results.
Max Records Specifies the maximum number of Contract Milestone records to return when 'Get All' is false. The value must be between 1 and 500.
Add Picklist Labels Determines whether to add additional fields with human-readable labels for picklist fields in the output. Labels are added only for non-empty values.
Add Reference Labels Determines whether to add additional fields with human-readable labels for reference fields in the output. Labels are added only for non-empty values.
Select Columns Names or IDs. Allows selection of specific fields (columns) to include in the response. If no fields are selected, all fields are returned. The ID field is always included.
Flatten User-Defined Fields If enabled, user-defined fields (UDFs) are moved to the top level of each returned object instead of being nested inside a userDefinedFields array.

Output

JSON

  • id - Unique identifier of the Contract Milestone record.
  • fields
    • * - Selected fields of the Contract Milestone as specified by the user, including standard and user-defined fields.
  • *_label - Optional human-readable labels for picklist and reference fields, added if enabled in the node properties.

Dependencies

  • Requires an API key credential for Autotask REST API authentication.

Troubleshooting

  • If no records are returned, verify that the Contract Milestone resource exists and that the query parameters (fields, filters) are correct.
  • If the node returns an authentication error, check that the Autotask API credentials are valid and have sufficient permissions.
  • If the maximum records limit is exceeded, reduce the 'Max Records' value or enable 'Get All' to fetch all records.
  • If picklist or reference labels are missing, ensure that 'Add Picklist Labels' and 'Add Reference Labels' options are enabled and that the fields have non-empty values.

Discussion