iTwin Component Center icon

iTwin Component Center

Comprehensive iTwin Component Center API

Overview

This node interacts with the iTwin Component Center API to manage manufacturers. Specifically, the "Delete Manufacturer" operation removes a manufacturer from the system by its unique identifier. This is useful in scenarios where outdated or incorrect manufacturer entries need to be cleaned up or removed from the component registry.

Practical examples include:

  • Automating cleanup of manufacturers that are no longer relevant.
  • Integrating with other systems to synchronize manufacturer data by deleting entries when they are removed elsewhere.

Properties

Name Meaning
ID The unique identifier of the manufacturer to delete. This is a required string input specifying which manufacturer record should be removed.

Output

The output JSON contains the result of the delete operation. It may be an object confirming the deletion or a simple success indicator. If the operation fails and "Continue On Fail" is enabled, the output will contain an error message describing the failure.

No binary data is produced by this node.

Example output structure on success:

{
  "result": true
}

Or on failure (if continuing on fail):

{
  "error": "Error message here",
  "nodeInfo": "iTwin ComponentCenter execution failed"
}

Dependencies

  • Requires an API key credential for authenticating with the iTwin Component Center API.
  • The node depends on the ComponentCenterOpenApiInterpreter module internally to map and execute API operations.
  • Proper configuration of the API credentials within n8n is necessary for successful requests.

Troubleshooting

  • Common issues:

    • Invalid or missing manufacturer ID will cause the operation to fail.
    • Authentication errors if the API key credential is not set or expired.
    • Network or API downtime can cause request failures.
  • Error messages:

    • "Unknown operation: delete-manufacturer" indicates a misconfiguration or unsupported operation name.
    • API errors returned from the service will be passed through; check the error message for details.
  • Resolutions:

    • Ensure the manufacturer ID is correct and exists.
    • Verify API credentials and refresh tokens if needed.
    • Enable "Continue On Fail" to handle errors gracefully in workflows.

Links and References

  • iTwin Developer Documentation
  • Refer to the official iTwin Component Center API docs for detailed information on manufacturer management endpoints.

Discussion