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 topics within a gym management system. Specifically, the "Create Topic" operation allows users to create new notification or discussion topics by providing a name and description. This is useful for gyms that want to organize communications, announcements, or discussions into distinct topics for members or staff.
Practical examples include:
- Creating a topic for upcoming events or promotions.
- Setting up discussion topics for different workout programs.
- Organizing feedback or suggestions under specific themes.
Properties
| Name | Meaning |
|---|---|
| Show Complete Response | Boolean option to return the full API response instead of just the main data. |
| Name | The title or name of the topic to be created. |
| Description | A detailed description explaining the purpose or content of the topic. |
Output
The node outputs JSON data representing the newly created topic as returned by the GymControl API. If "Show Complete Response" is enabled, the entire API response is returned; otherwise, only the essential topic data is output.
The output JSON typically includes fields such as:
id: Unique identifier of the topic.name: Name of the topic.description: Description of the topic.- Other metadata related to the topic creation.
No binary data output is involved in this operation.
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 to communicate with the GymControl service.
Troubleshooting
- Authentication errors: Ensure the API key credential is correctly set and has sufficient permissions.
- Validation errors: The "Name" and "Description" fields are required; missing these will cause the API to reject the request.
- Network issues: Verify connectivity to the GymControl API endpoint.
- Unexpected API responses: Enable "Show Complete Response" to debug the full response from the API.
Links and References
- GymControl API documentation (not provided here, but recommended to consult for detailed API behavior).