Actions5
Overview
This node integrates with the TANSS API to manage employee data. It supports operations such as creating new employees, retrieving employee details, listing technicians, updating employee information, and fetching availability data. This node is useful in scenarios where you need to automate HR or workforce management tasks within the TANSS system, for example:
- Automatically adding new employees from an external system.
- Fetching technician lists for scheduling or dispatching.
- Updating employee records based on changes in other systems.
- Checking employee availability for planning purposes.
Properties
| Name | Meaning |
|---|---|
| API Token | API token obtained from TANSS authentication, required for all operations. |
Output
The node outputs JSON data corresponding to the response from the TANSS API for each operation:
- For createEmployee: JSON object representing the newly created employee.
- For getEmployee: JSON object with detailed employee data.
- For getTechnicians: JSON array of technician employee objects.
- For updateEmployee: JSON object representing the updated employee.
- For getAvailability: JSON object containing availability information for the specified employee.
No binary data output is produced by this node.
Dependencies
- Requires a valid API token credential for authenticating requests to the TANSS API.
- The base URL for the TANSS API is retrieved from the node credentials configuration.
- Network access to the TANSS API endpoints is necessary.
Troubleshooting
- Missing Credentials Error: If no API token credential is found, the node will throw an error "Keine Anmeldedaten gefunden!" Ensure that the API token credential is properly configured.
- Empty Fields for Create/Update: When creating or updating an employee, if no fields are provided, the node throws errors indicating missing data. Always provide at least one field when performing these operations.
- Unknown Operation: If an unsupported operation is selected, the node will report it as unrecognized. Verify the operation name.
- API Request Failures: Errors during API calls include the operation name and the original error message. Check network connectivity, API token validity, and endpoint availability.
Links and References
- TANSS API Documentation (Replace with actual link if available)