Actions31
- Option Set Actions
- Public Query Actions
- Record Actions
- Role Actions
- Workflow Actions
- Worksheet Actions
Overview
This node interacts with the HAP (Hyper Application Platform) API to perform operations related to roles within the platform. Specifically, the "Get" operation for the "Role" resource retrieves detailed information about a specific role by its ID. This is useful in scenarios where you need to fetch role metadata or permissions associated with a particular role in an application or system managed via HAP.
Practical examples include:
- Retrieving role details to display in an admin dashboard.
- Validating role existence before assigning users.
- Fetching role information to audit permissions or access levels.
Properties
| Name | Meaning |
|---|---|
| Role ID | The ID of the role to retrieve. |
Output
The node outputs JSON data containing the details of the requested role. This typically includes all relevant properties of the role such as its name, description, permissions, and any other metadata defined by the HAP API for roles.
If the node supports binary data output, it is not indicated here; thus, the output is purely JSON structured data representing the role information.
Dependencies
- Requires an API key credential for authenticating with the HAP API.
- The node expects the HAP API endpoint to be accessible and properly configured.
- No additional external dependencies are indicated beyond the API authentication.
Troubleshooting
Common issues:
- Providing an invalid or non-existent Role ID will likely result in an error or empty response.
- Network connectivity problems can prevent successful API calls.
- Missing or incorrect API credentials will cause authentication failures.
Error messages and resolutions:
- "Role not found" — Verify that the Role ID is correct and exists in the HAP system.
- Authentication errors — Ensure the API key credential is valid and has necessary permissions.
- Network errors/timeouts — Check network connectivity and API endpoint availability.
Links and References
- HAP (Hyper Application Platform) API Documentation (replace with actual URL if available)