Overview
This node handles authentication to the TANSS API by performing a login operation. It is useful in workflows where subsequent API calls require a valid login session or token from the TANSS system. For example, it can be used to authenticate before fetching or sending data to the TANSS backend services.
Use Case Examples
- Logging into the TANSS API to obtain a session token for further API requests.
- Automating the login process in a workflow that interacts with TANSS services.
Properties
| Name | Meaning |
|---|---|
| Operation | Specifies the action to perform; currently supports only the 'Login' operation to authenticate with the TANSS API. |
Output
JSON
json- The JSON response returned from the TANSS API login endpoint, typically containing authentication tokens or session details.
Dependencies
- Requires TANSS API credentials including username, password, and base URL.
Troubleshooting
- If no credentials are provided or credentials are invalid, the node throws an error 'No credentials returned!'. Ensure valid TANSS API credentials are configured.
If the login request fails (e.g., due to incorrect username/password or network issues), the node throws an error with the message 'Login failed: '. Verify credentials and network connectivity. - If an unsupported operation is specified, the node throws an error indicating the operation is not recognized.