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 an existing PC, creating a new PC, and deleting a PC. This node is useful in IT asset management workflows where automated synchronization or updates of PC inventory data are required.
Practical examples include:
- Automatically updating PC details after hardware changes.
- Creating new PC entries when onboarding new devices.
- Fetching PC information for reporting or auditing purposes.
- Deleting PC records when devices are decommissioned.
Properties
| Name | Meaning |
|---|---|
| Operation | The action to perform: Get PC by ID, Update PC, Create PC, or Delete PC |
| API Token | The API token used to authenticate requests to the TANSS API |
| PC ID | The unique identifier of the PC or server (required for get, update, and delete actions) |
| PC Data | A collection of fields representing PC attributes to create or update, including: |
| - Inventory Number (string) | |
| - Active (boolean) | |
| - Company ID (number) | |
| - Name (string) | |
| - Service Technician ID (number) | |
| - Employee ID (number) | |
| - Date (number, presumably timestamp) | |
| - 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, password field) | |
| - AnyDesk ID (string) | |
| - AnyDesk Password (string, password field) | |
| - Reserved RAM (number) | |
| - Reserved Hard Disk (number) | |
| - Reserved CPU (number) | |
| - Description (string) |
Output
The node outputs an array of JSON objects corresponding to each input item processed. Each output JSON contains the response from the TANSS API for the requested operation:
- For Get PC by ID, it returns the PC details fetched from the API.
- For Update PC and Create PC, it returns the updated or newly created PC record.
- For Delete PC, it returns the API's confirmation response for deletion.
No binary data output is produced by this node.
Dependencies
- Requires an active connection to the TANSS API.
- Needs an API token credential for authentication.
- The base URL for the TANSS API is obtained from the credentials configuration.
- Uses HTTP methods GET, POST, PUT, DELETE depending on the operation.
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 HTTP request failure. Check the API token validity, network connectivity, and that the PC ID exists for operations requiring it.The operation "[operation]" is not recognized.
This should not occur under normal use since operations are predefined. If encountered, verify the operation parameter is set correctly.
Links and References
- TANSS API documentation (not provided here; consult your internal or vendor resources)
- n8n HTTP Request Helper: https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.httpRequest/