Overview
This node interacts with the Kennis Flux API v2 to perform operations such as retrieving the API status, listing the first 5 tickets, or listing the first 5 computers. It is useful for monitoring the API's health and quickly accessing key data from the system, such as recent tickets or computer records.
Use Case Examples
- Checking the API status to ensure the service is operational before running other workflows.
- Fetching a list of the first 5 tickets to display recent issues or requests.
- Retrieving a list of the first 5 computers for inventory or management purposes.
Properties
| Name | Meaning |
|---|---|
| Operation | Specifies the action to perform on the API, such as getting the API status, listing tickets, or listing computers. |
Output
JSON
error- Error message if the operation fails, including OAuth2 authentication or API request errors.message- Detailed message about the error or status._debugtokenUrl- The OAuth2 token URL used for authentication.hasClientId- Indicates if a client ID was provided for OAuth2 authentication.hasClientSecret- Indicates if a client secret was provided for OAuth2 authentication.username- Username used for OAuth2 authentication.usingClientAuth- Indicates if client authentication was used.requestBody- The body of the OAuth2 token request.tokenResponseKeys- Keys present in the OAuth2 token response.tokenError- Details of any error encountered during token retrieval.hasAccessToken- Indicates if an access token was successfully obtained.tokenLength- Length of the access token string.apiEndpoint- The API endpoint URL used for the data request.apiSuccess- Indicates if the API request was successful.
Dependencies
- Requires OAuth2 API credentials including client ID, client secret, username, and password for authentication with the Kennis Flux API.
Troubleshooting
- OAuth2 Authentication Failed: This error occurs if the credentials are incorrect or the token request fails. Verify the client ID, client secret, username, and password are correct and have the necessary permissions.
- API Request Failed: This error indicates the API endpoint could not be reached or returned an error. Check the API URL, network connectivity, and that the access token is valid and not expired.
- If the node continues on fail, it will output error details in the JSON output to help diagnose issues.
Links
- GLPI Project - Official site for GLPI, the IT asset management software which Kennis Flux API interacts with.