Autotask icon

Autotask

Consume Autotask REST API

Actions389

Overview

This node operation retrieves detailed information about a specific Contract Role Cost from the Autotask system using its unique ID. It is useful for scenarios where you need to fetch and utilize contract role cost data within your workflows, such as financial reporting, contract management, or integration with other systems. For example, you can use this node to get the cost details of a contract role to calculate project expenses or to update billing information.

Properties

Name Meaning
Contract Role Cost ID The unique identifier of the contract role cost record to retrieve.
Add Picklist Labels Determines whether to automatically add human-readable label fields (with '_label' suffix) for picklist fields in the response. Labels are not added for empty values.
Add Reference Labels Determines whether to automatically add human-readable label fields (with '_label' suffix) for reference fields in the response. Labels are not added for empty values.
Select Columns Names or IDs. Specifies which fields to include in the response. If no fields are selected, all fields are returned. The ID field is always included regardless of selection.
Flatten User-Defined Fields Determines whether user-defined fields (UDFs) should be brought up to the top level of each object instead of being nested inside a userDefinedFields array.

Output

JSON

  • id - The unique identifier of the contract role cost.
  • name - The name or description of the contract role cost.
  • cost - The monetary cost associated with the contract role.
  • userDefinedFields - An array of user-defined fields related to the contract role cost, if any.
    _label - Human-readable labels for picklist or reference fields, added if enabled.

Dependencies

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

Troubleshooting

  • Error: 'Contract Role Cost ID' is missing or invalid. Ensure you provide a valid ID string.
  • If no data is returned, verify that the specified Contract Role Cost ID exists in Autotask.
  • Network or authentication errors may occur if the API key credential is invalid or expired. Re-authenticate or update credentials as needed.
  • Selecting specific columns that do not exist may result in incomplete data or errors. Use the 'Select Columns' option carefully.

Discussion