myLIMS icon

myLIMS

Allows interaction with myLIMS API

Overview

This node integrates with the myLIMS system API to retrieve various data related to laboratory management. Specifically, for the Work resource and the Work Price Items operation, it fetches price item details associated with a particular work identified by its ID.

Typical use cases include:

  • Retrieving pricing details for a specific laboratory work order.
  • Automating billing or cost analysis workflows based on work price items.
  • Integrating lab work pricing data into broader business processes or reporting tools.

For example, a user might input a Work ID to get all price items linked to that work, optionally limiting the number of records returned or applying filters to narrow down results.

Properties

Name Meaning
Work ID The unique identifier of the work (billing) for which price items are requested. Required.
Top Maximum number of price item records to return. Defaults to 50 if not specified.
Filter Optional filter string to apply to the query, following the API's filtering syntax.

Output

The node outputs an array of JSON objects representing the price items associated with the specified work. Each object corresponds to a price item record retrieved from the myLIMS API.

The exact structure of each price item object depends on the API response but typically includes fields such as price item identifiers, descriptions, amounts, and related metadata.

No binary data output is produced by this operation.

Dependencies

  • Requires an active connection to the myLIMS API.
  • Needs an API authentication token or key configured in n8n credentials to authorize requests.
  • The node uses the HTTP GET method to call endpoints like /works/{workId}/priceitems.

Troubleshooting

  • Common issues:

    • Invalid or missing Work ID will cause the API request to fail.
    • Incorrect filter syntax may result in API errors or empty responses.
    • Network or authentication failures can prevent successful data retrieval.
  • Error messages:

    • API Request failed: ... indicates the underlying API call did not succeed. Check the error message for specifics such as authorization errors, invalid parameters, or connectivity problems.
  • Resolutions:

    • Ensure the Work ID is valid and exists in the myLIMS system.
    • Verify the filter string follows the API's expected syntax.
    • Confirm that the API credentials are correctly set up and have sufficient permissions.
    • Test network connectivity to the myLIMS API endpoint.

Links and References

  • myLIMS API documentation (refer to your organization's internal docs or myLIMS official API guide)
  • n8n documentation on creating and using API credentials
  • General REST API filtering syntax guidelines (if applicable)

Discussion