Autotask icon

Autotask

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

Actions524

Contract Block → Get

AI-generated

Overview

This node operation retrieves a specific contract block from the Autotask PSA system using its ID. It is useful for scenarios where detailed information about a particular contract block is needed, such as reviewing contract terms, billing details, or service agreements associated with that block. For example, a user might use this operation to fetch contract block details to display in a dashboard or to process contract-related workflows.

Use Case Examples

  1. Retrieve contract block details by specifying the block ID to integrate contract information into a CRM system.
  2. Fetch contract block data to validate billing or service terms before processing invoices.

Properties

Name Meaning
Block ID The ID of the contract block to operate on, required to identify which contract block to retrieve.
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 being nested in the userDefinedFields array.

Output

JSON

  • id - The unique identifier of the contract block.
  • name - The name of the contract block.
  • description - Description or details about the contract block.
  • startDate - The start date of the contract block.
  • endDate - The end date of the contract block.
  • status - The current status of the contract block.
  • userDefinedFields - Array of user-defined fields related to the contract block, if not flattened.
  • _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 Block ID is correctly specified and exists in the Autotask system to avoid 'Resource not found' errors.
  • Check API credentials and permissions if authentication errors occur.
  • If no data is returned, verify that the selected columns and label options are correctly configured.

Links

Discussion