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
The node integrates with the GymControl API to update license information. Specifically, the "License" resource with the "Update" operation allows users to modify existing license records by specifying their ID and updating certain fields such as availability.
This node is useful in scenarios where gym administrators or system integrators need to programmatically manage licenses for gym services or memberships, ensuring that license availability is kept up-to-date automatically based on business logic or external triggers.
For example, a gym management workflow could use this node to reduce the number of available licenses when a new member signs up or increase availability when a membership expires or is canceled.
Properties
| Name | Meaning |
|---|---|
| Show Complete Response | Boolean flag to determine if the full API response should be returned by the node. |
| ID | The unique identifier of the license to update. This is required to specify which license record to modify. |
| Options → Available | A numeric value representing the updated count of available licenses. Must be zero or greater. |
Output
- The node outputs JSON data containing the response from the GymControl API after attempting to update the license.
- If "Show Complete Response" is enabled, the entire API response is returned; otherwise, only relevant parts may be output.
- The output JSON typically includes details about the updated license, such as its ID, availability, and other metadata.
- There is no indication that the node outputs binary data.
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 endpoints.
Troubleshooting
Common Issues:
- Invalid or missing license ID will cause the update to fail.
- Providing an invalid number (e.g., negative) for the "Available" field may result in validation errors.
- Network connectivity issues or incorrect API credentials can cause authentication failures.
Error Messages:
- Errors related to authorization usually indicate invalid or expired API keys; verify and update credentials accordingly.
- "Not Found" errors suggest the specified license ID does not exist; double-check the ID input.
- Validation errors on the "Available" field require ensuring the value is a non-negative number.
Links and References
- GymControl API Documentation (Assumed link for reference, replace with actual if known)