Leanios icon

Leanios

Actions24

Overview

This node integrates with the Leanios API to perform operations on various resources such as products, transactions, productions, workorders, orders, and warehouses. Specifically, for the Workorder resource with the Get operation, it retrieves workorder data from the Leanios system by making an authenticated HTTP GET request to the appropriate API endpoint.

Common scenarios where this node is beneficial include:

  • Fetching detailed information about a specific workorder by its ID.
  • Automating workflows that require up-to-date workorder status or details.
  • Integrating Leanios workorder data into other systems or dashboards.

For example, a user can input a subdomain and a workorder ID to retrieve all relevant details of that workorder, which can then be used for reporting or triggering further automation steps.

Properties

Name Meaning
Subdomain The Leanios account subdomain to target (e.g., "dummy"). This defines the API base URL.

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

Output

The node outputs a JSON array containing the response from the Leanios API for the requested workorder(s). The structure of each JSON object corresponds directly to the workorder data returned by the API, including fields such as IDs, statuses, dates, and other workorder-specific attributes.

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.
  • The node makes HTTPS requests to the Leanios API endpoint constructed using the provided subdomain.
  • No additional external dependencies are required beyond standard HTTP request capabilities.

Troubleshooting

  • Authentication errors: If the API credentials are incorrect or missing, the node will throw an error indicating authentication failure. Verify that the correct username and password are configured in the node credentials.
  • Invalid subdomain: Providing an incorrect or non-existent subdomain will result in failed API calls. Ensure the subdomain matches your Leanios account.
  • Resource or operation mismatch: Using unsupported operations or resources may cause errors. Confirm that the resource is set to "workorder" and the operation to "get" or "getById".
  • Missing ID parameter: For fetching a specific workorder, the ID must be provided; otherwise, the API call will fail.
  • Network issues: Connectivity problems or API downtime will cause request failures. Check network access and Leanios service status.

Error messages thrown by the node typically contain the API's error message, which can guide troubleshooting.

Links and References

Discussion