GymControl icon

GymControl

Handle your GymControl instance

Actions91

Overview

This node integrates with the GymControl API to manage gender entries within a gym management system. Specifically, the "Create" operation under the "Gender" resource allows users to add new gender records by specifying a name. This is useful for gyms or fitness centers that want to customize or extend their gender options for member profiles or reporting purposes.

Practical examples include:

  • Adding a new gender category such as "Non-binary" or "Genderqueer" to better reflect member diversity.
  • Creating custom gender labels for specialized membership plans or demographic tracking.

Properties

Name Meaning
Show Complete Response When enabled, the node returns the full API response instead of just the created data.
Name The name of the gender to create (e.g., "Male", "Female", "Non-binary"). Required field.

Output

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

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 GymControl instance must be configured in the node credentials.
  • The node sends HTTP requests with JSON payloads and expects JSON responses.

Troubleshooting

  • Authentication errors: Ensure the API key and base URL are correctly set in the node credentials.
  • Validation errors: The "Name" property is required; missing or empty values will cause the API to reject the request.
  • API connectivity issues: Verify network access to the GymControl API endpoint.
  • Unexpected response format: Enabling "Show Complete Response" can help debug by showing the full API reply.

Links and References

  • GymControl API documentation (refer to your GymControl provider's official docs for details on gender management endpoints).

Discussion