Autotask icon

Autotask

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

Actions524

Contract Role Costs → Get

AI-generated

Overview

This node operation retrieves details of a specific Contract Role Cost from the Autotask PSA system using its ID. It is useful for scenarios where you need to fetch detailed information about a contract role cost, such as for auditing, reporting, or integration with other systems.

Use Case Examples

  1. Fetch a contract role cost by its ID to display its details in a dashboard.
  2. Retrieve contract role cost information to validate billing or cost allocation in a contract management workflow.

Properties

Name Meaning
Contract Role Cost ID The ID of the contract role cost to retrieve, required for the get operation.
Add Picklist Labels Whether to automatically add "_label" fields for picklist fields with human-readable values (no labels will be added for empty values).
Add Reference Labels Whether to automatically add "_label" fields for reference fields with human-readable values (no labels will be added for empty values).
Select Columns Names or IDs. Choose which fields to include in the response. If no fields are selected, all fields will be returned. The ID field is always included regardless of selection.
Flatten User-Defined Fields Whether to bring user-defined fields up to the top level of each object, making UDFs accessible as top-level properties instead of nested in the 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 cost value associated with the contract role cost.
  • contractId - The ID of the contract to which this role cost belongs.
  • roleId - The ID of the role associated with this cost.
  • userDefinedFields - User-defined fields related to the contract role cost, if any.
  • _label - Additional human-readable labels for picklist or reference fields if enabled.

Dependencies

  • An API key credential for Autotask PSA REST API

Troubleshooting

  • Ensure the Contract Role Cost ID is valid and exists in the Autotask system to avoid 'not found' errors.
  • If labels are not appearing as expected, verify that the 'Add Picklist Labels' and 'Add Reference Labels' options are enabled.
  • If the API credentials are incorrect or expired, authentication errors will occur; verify and update credentials as needed.
  • If selecting specific columns, ensure the column names or IDs are correct to avoid incomplete or empty responses.

Links

Discussion