Autotask icon

Autotask

Consume Autotask REST API

Actions389

Overview

This node operation updates an existing contract in the Autotask system by specifying the contract's unique ID and mapping the desired fields to update. It is useful for automating contract modifications such as changing terms, dates, or other contract details without manual intervention. For example, it can be used to update contract expiration dates or adjust contract parameters based on external triggers.

Properties

Name Meaning
Contract ID The unique identifier of the contract to update, required to specify which contract record to modify.
Fields A resource mapper input that defines which contract fields to update and their new values. Supports defining fields manually or auto-mapping from input data.

Output

JSON

  • id - The unique identifier of the updated contract.
  • fields - The updated fields and their new values after the update operation.
  • status - The status or result of the update operation, indicating success or failure.

Dependencies

  • Requires an API key credential for authenticating with the Autotask REST API.

Troubleshooting

  • Ensure the Contract ID provided exists and is valid; otherwise, the update will fail with a not found error.
  • Verify that the fields mapped for update are valid contract fields supported by the Autotask API to avoid validation errors.
  • Check API authentication credentials if the node fails to connect or returns authorization errors.
  • If the update operation returns an error, review the error message for details on invalid data or missing required fields and adjust the input accordingly.

Discussion