Leanios icon

Leanios

Actions24

Overview

This node integrates with the Leanios API to perform operations on various resources such as Transactions, Products, Productions, Workorders, Orders, and Warehouses. Specifically for the Transaction resource with the Get operation, it retrieves transaction data from the Leanios system by making an authenticated HTTP GET request to the appropriate API endpoint.

Common scenarios where this node is useful include:

  • Fetching details of a specific transaction or a list of transactions for reporting or further processing.
  • Integrating Leanios transaction data into workflows for automation, analytics, or synchronization with other systems.

Example use case:

  • Automatically retrieving transaction records daily to update an external database or trigger notifications based on transaction status.

Properties

Name Meaning
Subdomain The Leanios account subdomain used to construct the API URL (e.g., "dummy" in dummy.leanios.com). This identifies the specific Leanios instance to connect to.

Note: Although the node supports multiple resources and operations, here only the Subdomain property is relevant for the Transaction Get operation.

Output

The node outputs a JSON array containing the response data from the Leanios API call. The structure of the JSON depends on the API's response for the requested transaction(s). Typically, this will be an object or array representing transaction details such as IDs, amounts, dates, statuses, etc.

No binary data output is produced by this node.

Dependencies

  • Requires an active Leanios API credential consisting of a username and password for basic authentication.
  • Needs network access to https://{Subdomain}.leanios.com/api/v1/transactions.
  • No additional environment variables are required beyond the configured credentials.

Troubleshooting

  • Authentication errors: If the API credentials are incorrect or missing, the node will fail with an authentication error. Verify that the correct username and password are set in the credentials.
  • Invalid Subdomain: If the subdomain is incorrect or the Leanios instance is unreachable, the request will fail. Ensure the subdomain matches your Leanios account.
  • Resource or Operation mismatch: Using unsupported operations or resources may cause errors. Confirm that the operation is supported for the Transaction resource.
  • API errors: Any error messages returned by the Leanios API (e.g., 404 Not Found, 400 Bad Request) will be surfaced by the node. Review the message for clues and verify the parameters sent.

Links and References

Discussion