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 to create, retrieve, update, and delete PCs or servers within the TANSS system. This node is useful for automating asset management workflows, such as syncing inventory data, updating device details, or removing obsolete entries.

Practical examples:

  • Automatically fetch detailed information about a specific PC by its ID.
  • Update hardware or software details of a PC after maintenance.
  • Create new PC records when onboarding new devices.
  • Delete PC records when devices are decommissioned.

Properties

Name Meaning
API Token The API token used to authenticate requests to the TANSS API.

Output

The node outputs an array of JSON objects corresponding to each input item processed. Each JSON object contains the response from the TANSS API for the requested operation:

  • For Get PC by ID, the output JSON includes the PC's details fetched from the API.
  • For Create PC and Update PC, the output JSON contains the created or updated PC record as returned by the API.
  • 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 configured credentials.
  • Uses HTTP methods GET, POST, PUT, and DELETE to interact with the API.

Troubleshooting

  • No credentials returned!: Indicates that the API token credential was not provided or not properly configured. Ensure the API token is set in the node credentials.
  • No data provided for updating/creating the PC.: When performing update or create operations, the node expects non-empty data fields. Provide at least one field in the PC Data collection.
  • Failed to execute [operation]: [error message]: Generic error indicating the API request failed. Check network connectivity, API token validity, and that the PC ID exists for operations requiring it.
  • The operation "[operation]" is not recognized.: An invalid operation value was selected. Choose one of the supported operations.

Links and References

Discussion