myLIMS icon

myLIMS

Allows interaction with myLIMS API

Overview

This node integrates with the myLIMS system, allowing users to retrieve various types of information related to accounts and works managed within myLIMS. Specifically, for the Account Secondaries operation, it fetches secondary account details associated with a given primary account ID.

Common scenarios where this node is beneficial include:

  • Retrieving detailed secondary account information linked to a main account for reporting or data synchronization.
  • Automating workflows that require fetching account-related secondary data from the myLIMS system.
  • Integrating myLIMS account data into other systems or dashboards.

For example, a user might input an Account ID to get all secondary accounts related to that primary account, enabling further processing or analysis downstream in their workflow.

Properties

Name Meaning
Account ID The unique numeric identifier of the account whose secondary account information you want to retrieve. Example: 10

Output

The node outputs JSON data representing the secondary account information retrieved from the myLIMS API for the specified Account ID. The structure corresponds directly to the API response from the /Accounts/{accountId}/GetAccountSecondary endpoint.

  • The json output field contains an array of objects, each representing a secondary account or related data.
  • No binary data output is indicated by the source code.

Dependencies

  • Requires an active connection to the myLIMS API.
  • Needs an API authentication credential configured in n8n (referred to generically as "an API key credential").
  • The node uses HTTP GET requests to interact with the myLIMS REST endpoints.

Troubleshooting

  • API Request failed: This error indicates that the request to the myLIMS API did not succeed. Common causes include invalid Account ID, network issues, or incorrect API credentials.
    • Verify that the Account ID provided exists and is correct.
    • Ensure the API key credential is valid and has sufficient permissions.
    • Check network connectivity to the myLIMS API endpoint.
  • Unsupported resource or operation: If the resource or operation parameters are misconfigured, the node will throw an error. Make sure to select "Account" as the resource and "Account Secondaries" as the operation when intending to fetch secondary account data.

Links and References

Discussion