v1

latestOpenAPI 3.1.02026-08-064323122.5 KB
Gym Visit

List Corporate Fitness member accounts

Request Corporate Fitness member accounts for the current gym whose corporate membership cancellation date falls into specified date range. The type of membership is always CORPORATE_FITNESS, both endDateFrom and endDateTo parameters are mandatory and apply to corporateFitness.endTimestamp.

get/api/v2/accounts/corporate-fitness

Query parameters

endDateFromstring date required
endDateTostring date required

Response

Ok

accountIdstring

The EGYM account ID for the Gym Member.

emailstring required

The Member email address. It should be unique within the gym chain.

firstNamestring required

The Member first name.

lastNamestring required

The Member last name.

dateOfBirthstring date

The Member date of birth. format: yyyy-MM-dd

gender'MALE' | 'FEMALE' | 'NON_BINARY' required

The Member gender. Please note that NON_BINARY is not correctly supported yet, we send it as FEMALE for the usage of the machines.

Example response

[
  {
    "firstName": "John",
    "lastName": "Wick",
    "contact": {
      "country": "DE"
    },
    "membership": {
      "corporateFitness": {
        "startTimestamp": "2021-03-08T18:26:47Z",
        "endTimestamp": "2021-03-08T18:26:47Z"
      }
    }
  }
]