Overview
This node integrates with the TANSS API to manage PC or server records. It supports operations to fetch, create, update, and delete PCs or servers by interacting with the TANSS backend API endpoints. This node is useful in IT asset management workflows where automated synchronization or manipulation of PC inventory data is required.
Practical examples include:
- Automatically retrieving detailed information about a specific PC by its ID.
- Creating new PC entries when onboarding new hardware.
- Updating existing PC details such as location, assigned employee, or hardware specs.
- Deleting PC records that are no longer relevant or have been decommissioned.
Properties
Name | Meaning |
---|---|
API Token | The API token used for authenticating requests to the TANSS API. |
Note: Although the bundled code defines many additional properties related to PC data (like Inventory Number, Company ID, Manufacturer ID, etc.), your provided input properties only include the "API Token". The node internally uses other parameters like operation type, PC ID, and PC data collection depending on the selected operation.
Output
The node outputs an array of JSON objects corresponding to the results of each executed operation. Each output item contains the raw JSON response from the TANSS API for the requested operation:
- For Get PC by ID, the output JSON contains the PC/server details fetched from the API.
- For Create PC and Update PC, the output JSON contains the created or updated PC record returned by the API.
- For Delete PC, the output JSON typically contains confirmation of deletion or status information.
The node does not output binary data.
Dependencies
- Requires access to the TANSS API endpoint, which must be configured via credentials providing the base URL and authentication.
- Requires an API token to be supplied as an input property for authorization.
- Uses HTTP methods GET, POST, PUT, DELETE to interact with the TANSS API.
Troubleshooting
No credentials returned!
This error occurs if the node cannot retrieve the necessary API credentials. Ensure that the TANSS API credentials are properly configured in n8n.No data provided for updating/creating the PC.
When performing update or create operations, the node expects non-empty PC data. Provide the required fields in the PC Data collection to avoid this error.Failed to execute [operation]: [error message]
Indicates an HTTP request failure to the TANSS API. Check the API token validity, network connectivity, and that the PC ID exists for operations requiring it.The operation "[operation]" is not recognized.
This suggests an invalid operation parameter was passed. Use one of the supported operations: getPcById, updatePc, createPc, deletePc.
Links and References
- TANSS API documentation (not provided here; consult your TANSS API provider for official docs)
- n8n HTTP Request node documentation for understanding request options: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/