TANSS Unternehmen icon

TANSS Unternehmen

Verwaltet Unternehmen in der TANSS API

Overview

This node manages companies within the TANSS API, allowing users to create, retrieve, update, delete companies, and fetch employees of a company. It is useful in scenarios where you need to automate company data management or integrate company-related workflows with the TANSS system. For example, you can automatically add new companies from a CRM, update company details based on external data, remove obsolete companies, or list employees for reporting purposes.

The specific operation "Unternehmen löschen" (Delete Company) deletes a company by its ID from the TANSS system.

Properties

Name Meaning
API Token API token obtained from TANSS authentication, used to authorize requests.
Unternehmens-ID (companyId) The unique numeric ID of the company to be deleted. Required for delete operation.

Output

The output is a JSON object representing the response from the TANSS API after attempting to delete the specified company. Typically, this will include confirmation of deletion or an error message if the operation failed.

No binary data output is produced by this node.

Example output JSON might look like:

{
  "message": "Company deleted successfully",
  "companyId": 123
}

Dependencies

  • Requires an active TANSS API credential with a valid base URL and API token.
  • The node uses HTTP requests to communicate with the TANSS backend API.
  • The user must configure the TANSS API credentials in n8n before using this node.

Troubleshooting

  • Missing Credentials: If no API credentials are found, the node throws an error "Keine Anmeldedaten gefunden!" Ensure that the TANSS API credentials are properly set up in n8n.
  • Invalid Company ID: Providing an invalid or non-existent company ID may cause the API to return an error. Verify the company ID before attempting deletion.
  • Empty Fields Error: Although not applicable for delete operation, other operations require fields; ensure required fields are provided.
  • API Errors: Any HTTP or API errors during the request will be caught and reported with messages like "Fehler beim Ausführen von deleteCompany: ". Check network connectivity and API token validity.
  • Unrecognized Operation: If an unsupported operation is selected, the node will throw an error indicating the operation is not recognized.

Links and References

Discussion