GymControl icon

GymControl

Handle your GymControl instance

Actions91

Overview

This node integrates with the GymControl system to create new company information records. It allows users to add a company's basic details such as name, logo, URL, timezone, and status, along with optional contact and address information. This is useful for automating the management of company profiles within a gym or fitness management environment.

Typical use cases include:

  • Automatically adding new company info when onboarding new gym branches.
  • Syncing company data from external systems into GymControl.
  • Managing multiple company profiles programmatically.

Properties

Name Meaning
Show Complete Response Boolean flag to determine if the full API response should be returned by the node.
Name The official name of the company to be created.
Logo URL or identifier for the company's logo image.
URL The website URL of the company.
Timezone The timezone in which the company operates. A comprehensive list of timezones is available to select from (e.g., "America/New_York", "Europe/London", "Asia/Tokyo").
Status The current status of the company. Options are: "Active", "Disabled", or "Waiting Payment".
Optional Fields A collection of additional optional properties:
- Address: Physical address of the company.
- City: City where the company is located.
- Phone Number: Contact phone number.
- Postal Code: Postal code.
- Email: Contact email address.

Output

The node outputs JSON data representing the newly created company information record as returned by the GymControl API. If the "Show Complete Response" option is enabled, the entire API response is returned; otherwise, only essential data about the created company is output.

No binary data output is involved.

Dependencies

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

Troubleshooting

  • Authentication errors: Ensure that the API key credential is correctly set up and has sufficient permissions.
  • Validation errors: Required fields like Name, Logo, URL, Timezone, and Status must be provided and valid. Check for missing or malformed inputs.
  • API endpoint issues: Verify that the base URL is correct and the GymControl API is accessible.
  • Timezone selection: Selecting an invalid or unsupported timezone may cause errors; use the provided list.
  • Status value errors: Only "active", "disabled", or "pending_payment" are accepted; other values will cause failures.

Links and References

Discussion