MagicDoor icon

MagicDoor

Interact with MagicDoor API

Entities → Get Unit Names

AI-generated

Overview

This node interacts with the MagicDoor API to retrieve unit names associated with specified entity IDs. It is useful in scenarios where you need to fetch detailed unit information for multiple entities in a batch or single request, such as in asset management, inventory tracking, or organizational data processing.

Use Case Examples

  1. Fetch unit names for a list of entity IDs to display in a dashboard.
  2. Batch process entity IDs to retrieve their unit names for reporting purposes.

Properties

Name Meaning
Entity IDs Comma-separated list of entity IDs for which to retrieve unit names.
Batching Controls how input entity IDs are split into batches to throttle requests, including batch size and interval between batches.
Ignore SSL Issues (Insecure) Whether to accept responses even if SSL certificate validation fails.
Proxy HTTP proxy to route requests through, including optional authentication.
Timeout Maximum time in milliseconds to wait for the server response before aborting the request.

Output

JSON

  • unitNames - Array of unit names retrieved for the specified entity IDs.

Dependencies

  • MagicDoor API with an API key credential

Troubleshooting

  • Ensure the entity IDs are correctly formatted as a comma-separated string; invalid formatting may cause request failures.
  • If batching is enabled, verify batch size and interval settings to avoid rate limiting or timeouts.
  • If SSL errors occur, consider enabling 'Ignore SSL Issues' only if you trust the source.
  • Check proxy settings if requests fail to reach the API endpoint.
  • Timeout errors may require increasing the timeout value depending on network conditions.

Links

Discussion