Dolibarr icon

Dolibarr

Interact with Dolibarr API

Contracts → Get

AI-generated

Overview

This node interacts with the Dolibarr API to retrieve details of a specific contract by its ID. It is useful in scenarios where you need to fetch contract information from Dolibarr for further processing or integration within an automation workflow. For example, you might use this node to get contract details to update a CRM system or to trigger notifications based on contract data.

Use Case Examples

  1. Retrieve contract details by providing the contract ID to integrate contract data into another system.
  2. Fetch contract information to validate contract status before processing an order.

Properties

Name Meaning
Contract ID The unique identifier of the contract to retrieve. This is a required numeric input with a minimum value of 1.
Request Options Additional settings for the API request such as batching, SSL certificate validation, proxy configuration, and request timeout.

Output

JSON

  • contract
    • id - The unique identifier of the retrieved contract.
    • ref - The reference code or number of the contract.
    • status - The current status of the contract.
    • start_date - The start date of the contract.
    • end_date - The end date of the contract.
    • details - Additional details or metadata related to the contract.

Dependencies

  • Dolibarr API with an API key credential

Troubleshooting

  • Ensure the Contract ID is a valid number greater than or equal to 1, as invalid IDs will cause request failures.
  • If SSL certificate validation fails and you trust the source, enable the 'Ignore SSL Issues' option to bypass SSL errors.
  • Check proxy settings if the request fails due to network issues, especially in corporate environments.
  • Timeout errors may occur if the server is slow to respond; increase the timeout setting if necessary.

Discussion