Overview
This node integrates with the TANSS API to manage PC or server records. It supports operations to fetch, update, create, and delete PCs or servers in the TANSS system. This is useful for IT asset management workflows where you need to automate synchronization or updates of PC inventory data.
Practical examples:
- Automatically update PC details after a hardware audit.
- Create new PC entries when onboarding new devices.
- Fetch PC information by ID for reporting or validation.
- Delete 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. Includes: |
| - Inventory Number (string) | |
| - Active (boolean) | |
| - Company ID (number) | |
| - Name (string) | |
| - Service Technician ID (number) | |
| - Employee ID (number) | |
| - Date (number, 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 the response from the TANSS API for each input item processed. The JSON structure depends on the operation:
- For Get PC by ID, it returns the PC/server details as provided by the API.
- For Update PC and Create PC, it returns the updated or newly created PC record.
- For Delete PC, it returns the API response confirming deletion.
No binary data output is produced.
Dependencies
- Requires access to the TANSS API endpoint.
- Needs an API token credential for authentication.
- The base URL for the API is obtained from the node credentials configuration.
- Uses HTTP methods GET, POST, PUT, DELETE to interact with the API.
Troubleshooting
- No credentials returned!: Ensure that the API token credential is properly configured and available.
- No data provided for updating/creating the PC.: When performing update or create operations, make sure to provide at least one field in the PC Data collection.
- Failed to execute [operation]: [error message]: Indicates an error during the API request. 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 if using the provided options; verify the operation parameter is correctly set.
Links and References
- TANSS API documentation (not provided here, but users should refer to their official API docs)
- n8n HTTP Request helper documentation: https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.httpRequest/