Overview
The "TANSS PCs" node enables interaction with the TANSS API to manage PC or server records. It supports operations such as fetching a PC by its ID, updating an existing PC, creating a new PC, and deleting a PC. This node is useful in IT asset management workflows where automation of PC inventory updates, retrievals, or deletions is required.
Practical examples:
- Automatically update PC details after a hardware upgrade.
- Retrieve PC information for reporting or auditing purposes.
- Create new PC entries when onboarding new devices.
- Remove PC records when decommissioning hardware.
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. |
PC Data | A collection of fields representing the PC's attributes to create or update. These include: - Inventory Number (string) - Active (boolean) - Company ID (number) - Name (string) - Service Technician ID (number) - Employee ID (number) - Date (number) - Location (string) - Manufacturer ID (number) - Model (string) - Serial Number (string) - OS ID (number) - Software (string) - Remark (string) - Show Remark (boolean) - Mainboard Manufacturer ID (number) - Mainboard Manufacturer Revision (string) - Mainboard Serial Number (string) - BIOS (string) - BIOS Release (string) - CPU Manufacturer ID (number) - CPU Type ID (number) - CPU Frequency (number) - CPU Number (number) - Mouse Serial Number (string) - Keyboard Serial Number (string) - Server (boolean) - Internal Remark (string) - Billing Number (string) - Article Number (string) - Manufacturer Number (string) - Host ID (number) - Purchase Price (number) - Selling Price (number) - Ownage Type (options): Own, Foreign, Own Rent, Foreign Rent - Storage ID (number) - TeamViewer ID (string) - TeamViewer Password (string) - AnyDesk ID (string) - AnyDesk Password (string) - Reserved RAM (number) - Reserved Hard Disk (number) - Reserved CPU (number) - Description (string) |
Output
The node outputs an array of JSON objects corresponding to the results of each operation performed on the input items. Each output item contains the raw JSON response from the TANSS API for the requested operation:
- For Get PC by ID, the output JSON includes the PC's detailed data.
- For Update PC and Create PC, the output JSON reflects the updated or newly created PC record.
- For Delete PC, the output JSON typically contains confirmation of deletion or status information.
No binary data output is produced by this node.
Dependencies
- Requires access to the TANSS API endpoint.
- Requires an API token credential for authenticating requests.
- The base URL for the TANSS API is obtained from the node credentials configuration.
- The node uses HTTP methods GET, POST, PUT, and DELETE to interact with the API.
Troubleshooting
No credentials returned!
Occurs if the API token credential is missing or not configured properly. Ensure the API token is set correctly in the node credentials.No data provided for updating/creating the PC.
When performing update or create operations, the PC Data collection must contain at least one field. Provide valid data to avoid this error.Failed to execute [operation]: [error message]
Indicates an issue with the API request, such as invalid parameters, network issues, or authentication failure. Check the API token validity, PC ID correctness, and network connectivity.The operation "[operation]" is not recognized.
This error occurs if an unsupported operation value is passed. Use only the supported operations: getPcById, updatePc, createPc, deletePc.
Links and References
- TANSS API Documentation (refer to your internal or vendor-provided API docs)
- n8n HTTP Request Node documentation for understanding API interactions: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/