- Retrieve an account
Update an account
Delete an account
Partially update an account
Upload account image
Delete account image
List member accounts
Create an account
Retrieve an account roles
Set an account roles
Retrieve an account by RFID
Retrieve an account by NFC
Retrieve an account by membership ID
Retrieve an account by email
Retrieve an account
- Mock serverhttps://developer.egym.com/_mock/mms-api-v2/apis/mms-v2/api/v2/accounts/{accountId}
- Testhttps://mms.api.ed.ts.egym.coffee/api/v2/accounts/{accountId}
- Prodhttps://mms.api.egym.com/api/v2/accounts/{accountId}
curl -i -X GET \
'https://developer.egym.com/_mock/mms-api-v2/apis/mms-v2/api/v2/accounts/{accountId}' \
-H 'x-api-key: YOUR_API_KEY_HERE'Ok
The Member gender. Please note that NON_BINARY is not correctly supported yet, we send it as FEMALE for the usage of the machines.
Enum:"MALE""FEMALE""NON_BINARY"
Response
{ "accountId": "string", "email": "string", "firstName": "John", "lastName": "Wick", "dateOfBirth": "2019-08-24", "gender": "MALE", "contact": { "phone": "string", "street": "string", "streetNumber": "string", "zipCode": "string", "city": "string", "state": "string", "country": "DE" }, "membership": { "membershipId": "string", "agreementNumber": "string", "membershipType": "BASIC", "membershipSubType": "string", "endOfContract": "2019-08-24", "startOfContract": "2019-08-24", "referringMemberId": "string", "barcode": "string", "verificationTAN": "string", "corporateFitness": { … } } }