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 to authenticate 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"
- Requires
PC IDto specify which PC to retrieve.
Output
The node outputs an array of JSON objects, each representing the response from the TANSS API for the requested operation. For the "Get PC by ID" operation, the output JSON contains the detailed data 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.
- The node uses HTTP methods (GET, PUT, POST, DELETE) to interact with the API.
Troubleshooting
- Missing Credentials: If no API token or credentials are provided, the node will throw an error indicating missing credentials.
- Invalid Operation: Selecting an unsupported operation will result in an error specifying the unrecognized operation.
- Empty Data for Update/Create: Attempting to update or create a PC without providing any data fields will cause an error prompting to provide data.
- API Request Failures: Network issues, invalid tokens, or incorrect PC IDs may cause request failures. The node reports these with messages like "Failed to execute [operation]: [error message]".
To resolve errors:
- Ensure the API token is valid and has necessary permissions.
- Verify that the PC ID exists when fetching, updating, or deleting.
- Provide all required data fields when creating or updating a PC.
- Check network connectivity and API endpoint accessibility.
Links and References
- TANSS API Documentation (refer to your internal or vendor-provided docs for detailed API usage)
- n8n HTTP Request Node documentation for understanding request options and error handling.