Overview
This node integrates with the TANSS API to manage PC or server records. It supports operations such as fetching a PC by its ID, updating existing PCs, creating new PCs, and deleting PCs. This node is useful in IT asset management workflows where automated retrieval or modification of PC data is required.
For example, you can use this node to:
- Retrieve detailed information about a specific PC using its unique ID.
- Update inventory details or status of a PC automatically after maintenance.
- Add new PC records into the TANSS system from an external source.
- Remove obsolete PC entries from the database.
Properties
| Name | Meaning |
|---|---|
| API Token | The API token used for authenticating requests to the TANSS API. |
| PC ID | The unique identifier of the PC or server to fetch, update, or delete. |
Note on Operation "Get PC by ID"
- Only requires
API TokenandPC ID.
Output
The node outputs JSON data representing the response from the TANSS API for the requested operation. For the "Get PC by ID" operation, the output JSON contains the detailed information of the specified PC or server as returned by the API.
No binary data output is produced by this node.
Dependencies
- Requires access to the TANSS API endpoint.
- Needs an API token credential for authentication.
- The base URL for the TANSS API is obtained from the configured credentials.
- Network connectivity to the TANSS API service must be available.
Troubleshooting
No credentials returned!
This error occurs if the API token credential is missing or not properly configured. Ensure that the API token is set up correctly in the node's credentials.Failed to execute getPcById: [error message]
Indicates a failure during the API request. Possible causes include invalid PC ID, network issues, or incorrect API token. Verify the PC ID exists, check network connectivity, and confirm the API token is valid.The operation "[operation]" is not recognized.
This error suggests an unsupported operation was selected. Confirm that the operation name matches one of the supported options: Get PC by ID, Update PC, Create PC, Delete PC.If the PC ID is zero or invalid, the API may return an error or empty result. Always provide a valid PC ID when performing operations that require it.
Links and References
- TANSS API Documentation (refer to your internal or vendor-provided API docs for detailed endpoints and data schema)
- n8n Documentation: Creating Custom Nodes