Actions91
- Account Setting Actions
- Addon Actions
- Ceiling Actions
- Company Info Actions
- Device Actions
- Exercise Actions
- Feedback Actions
- File Actions
- File Type Actions
- Gender Actions
- Guest Actions
- License Actions
- Log Actions
- Payment Actions
- Permission Actions
- Relationship Actions
- Role Actions
- Service Actions
- Service Price Actions
- Social Actions
- Topic Actions
- User Actions
- Workout Execution Actions
- Worksheet Actions
Overview
This node integrates with the GymControl API to manage and retrieve data related to gym management. Specifically, for the Relationship - Get operation, it fetches relationship data from a GymControl instance. This can be useful in scenarios where you want to obtain details about relationships between entities such as users, roles, or other linked resources within the gym management system.
Practical examples include:
- Retrieving the relationship details of a user to understand their role or connections.
- Fetching relationship data to synchronize with another system or for reporting purposes.
Properties
| Name | Meaning |
|---|---|
| Show Complete Response | When enabled (true), the node returns the full raw response from the GymControl API. Otherwise, it returns a simplified or processed version. |
Output
The node outputs JSON data representing the relationship information retrieved from the GymControl API. The structure depends on the specific relationship queried but generally includes identifiers and attributes describing the relationship.
If "Show Complete Response" is enabled, the output contains the entire API response, which may include metadata and additional fields beyond the core relationship data.
No binary data output is indicated by the source code.
Dependencies
- Requires an API key credential for authenticating requests to the GymControl API.
- The base URL for the API is configured via credentials.
- The node uses HTTP requests with JSON payloads and expects JSON responses.
Troubleshooting
- Authentication errors: Ensure that the API key credential is correctly set up and has sufficient permissions.
- Invalid resource or operation: Confirm that "Relationship" is selected as the resource and "Get" as the operation.
- Empty or unexpected responses: Verify that the requested relationship exists in the GymControl instance.
- Network issues: Check connectivity to the GymControl API endpoint specified in the credentials.
Links and References
- GymControl API Documentation (hypothetical link; replace with actual if available)
- n8n documentation on creating custom nodes