GymControl icon

GymControl

Handle your GymControl instance

Actions91

Overview

The node provides integration with a GymControl system, specifically allowing users to update company information within their GymControl instance. This operation is useful for maintaining up-to-date details about the gym or organization, such as its name, logo, contact information, timezone, and status. Practical applications include automating updates to company profiles when branding changes occur, or synchronizing company data across multiple systems.

Properties

Name Meaning
Show Complete Response Boolean flag to determine whether the node should return the full API response or just the essential data.
ID The unique identifier of the company info record to update. This is required to specify which company info entry will be modified.
Options A collection of optional fields that can be updated for the company info:
- Name The new name of the company.
- Logo URL or identifier for the company's logo image.
- URL The website URL of the company.
- Timezone The timezone setting for the company. Users can select from a comprehensive list of timezones (e.g., "America/New_York", "Europe/London", "Asia/Tokyo").
- Status The current status of the company, with options: "Active", "Disabled", or "Waiting Payment".
- Address The physical address of the company.
- City The city where the company is located.
- Phone Number Contact phone number for the company.
- Postal Code Postal or ZIP code for the company's location.
- Email Contact email address for the company, e.g., "name@email.com".

Output

The node outputs JSON data representing the updated company information as returned by the GymControl API. If the "Show Complete Response" option is enabled, the entire API response is returned; otherwise, only the relevant updated data is provided. The output does not include binary data.

Dependencies

  • Requires an API key credential for authenticating requests to the GymControl API.
  • The base URL for the GymControl API must be configured in the node credentials.
  • The node uses HTTP requests to communicate with the GymControl service endpoints.

Troubleshooting

  • Common Issues:
    • Invalid or missing company ID: Ensure the "ID" property is correctly set to an existing company info record.
    • Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
    • Invalid field values: For example, providing an unsupported timezone or malformed email may cause the API to reject the update.
  • Error Messages:
    • Authorization errors typically indicate issues with the API key or access rights.
    • Validation errors from the API may specify which input fields are incorrect or missing.
  • Resolutions:
    • Double-check all required properties and their formats.
    • Confirm API credentials and endpoint URLs.
    • Use the "Show Complete Response" option to get detailed error messages from the API for debugging.

Links and References

Discussion