TANSS PCs icon

TANSS PCs

Handles PC operations in TANSS API

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:

  • Automatically update PC details in TANSS when changes occur in another system.
  • Fetch detailed information about a specific PC for reporting or auditing.
  • Create new PC entries based on onboarding processes.
  • Remove PC records when hardware is decommissioned.

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, 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 JSON data corresponding to the response from the TANSS API for the selected operation:

  • For Get PC by ID, it returns the PC 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 by this node.

Dependencies

  • Requires an API token credential for authenticating with the TANSS API.
  • The base URL for the TANSS API is obtained from the configured credentials.
  • The node uses HTTP methods GET, POST, PUT, and DELETE to interact with the API endpoints.

Troubleshooting

  • No credentials returned!
    Occurs if the API token credential is missing or not properly configured. 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 happen under normal use since operations are predefined. If encountered, verify the node configuration.

Links and References

Discussion