# Get user details This endpoint retrieves user details in the defined gym location Endpoint: GET /api/v1/gyms/{gymId}/users Version: 1.1.1 Security: user ## Path parameters: - `gymId` (integer, required) The EGYM Gym Location ID. Example: 130 ## Response 200 fields (application/json): - `equipmentUser` (object) - `equipmentUser.userId` (string) The userId assigned by egym, for example -1c2yqo37vn9m. Example: "-1c2yqo37vn9m" - `equipmentUser.email` (string) The email address of the user. Not available by default. Only available if needed for use case. - `equipmentUser.firstName` (string) The user's first name. - `equipmentUser.lastName` (string) The user's last name. - `equipmentUser.gender` (string) The gender of the user. Enum: "MALE", "FEMALE", "NON_BINARY" - `equipmentUser.dateOfBirth` (string) The date of birth in ISO 8601 format (yyyy-MM-dd). - `equipmentUser.height` (number) The body height of the user in centimeters. Example: 180 - `equipmentUser.weight` (number) The body weight of the user in kilograms. Example: 75 - `equipmentUser.locale` (string) The user locale is either in ISO 15897 standard format. i.e.: 'en_US' or just language. i.e.: 'en' Example: "en_US" - `equipmentUser.unitSystem` (string) The user Unit System. Enum: "METRIC", "US_CUSTOMARY", "IMPERIAL" - `equipmentUser.trainingGoal` (string) The user training goal. Enum: "WEIGHT_LOSS", "FITNESS", "MUSCLE_GAIN", "BBP", "BBP_AND_WEIGHT_LOSS", "REHASPORT" - `equipmentUser.termsAndConditionsAccepted` (boolean) Informs if the terms and conditions have been accepted. ## Response 401 fields (application/json): - `equipmentUser` (object) - `equipmentUser.userId` (string) The userId assigned by egym, for example -1c2yqo37vn9m. Example: "-1c2yqo37vn9m" - `equipmentUser.email` (string) The email address of the user. Not available by default. Only available if needed for use case. - `equipmentUser.firstName` (string) The user's first name. - `equipmentUser.lastName` (string) The user's last name. - `equipmentUser.gender` (string) The gender of the user. Enum: "MALE", "FEMALE", "NON_BINARY" - `equipmentUser.dateOfBirth` (string) The date of birth in ISO 8601 format (yyyy-MM-dd). - `equipmentUser.height` (number) The body height of the user in centimeters. Example: 180 - `equipmentUser.weight` (number) The body weight of the user in kilograms. Example: 75 - `equipmentUser.locale` (string) The user locale is either in ISO 15897 standard format. i.e.: 'en_US' or just language. i.e.: 'en' Example: "en_US" - `equipmentUser.unitSystem` (string) The user Unit System. Enum: "METRIC", "US_CUSTOMARY", "IMPERIAL" - `equipmentUser.trainingGoal` (string) The user training goal. Enum: "WEIGHT_LOSS", "FITNESS", "MUSCLE_GAIN", "BBP", "BBP_AND_WEIGHT_LOSS", "REHASPORT" - `equipmentUser.termsAndConditionsAccepted` (boolean) Informs if the terms and conditions have been accepted. ## Response 404 fields (application/json): - `timestamp` (string) The timestamp of the request. - `path` (string) The path requested. - `requestId` (string) The request ID. Example: "de625cf1-1" - `status` (integer) The http status code. - `error` (string) The error. - `message` (string) The message to describe the error. - `fieldErrors` (array) The constraint violations. - `fieldErrors.name` (string) The field name. Example: "age" - `fieldErrors.message` (string) The error message. Example: "Must be greater than 10." - `fieldErrors.rejectedValue` (object) The rejected value. Example: 3 ## Response 500 fields (application/json): - `timestamp` (string) The timestamp of the request. - `path` (string) The path requested. - `requestId` (string) The request ID. Example: "de625cf1-1" - `status` (integer) The http status code. - `error` (string) The error. - `message` (string) The message to describe the error. - `fieldErrors` (array) The constraint violations. - `fieldErrors.name` (string) The field name. Example: "age" - `fieldErrors.message` (string) The error message. Example: "Must be greater than 10." - `fieldErrors.rejectedValue` (object) The rejected value. Example: 3