Member API guide
Table of contents |
|---|
|
Before using this, please refer to Account API functions for login and API explanations.
Get member subscription history
Gets the members' subscription history
GET /user/history/subscriptions
Account privilege restriction:
Root
Club manager
Administrator / Reception
Member
Request
Response
Get member booking history
Gets the members' booking history
GET /user/history/bookings
Account privilege restriction:
Root
Club manager
Administrator / Reception
Member
Request
Response
Getting group class info for booking
Gets the group class info along with the available places and subscriptions
GET /group_class/book/{class_id}
Account privilege restriction:
Club manager
Administrator / Reception
Member
Request
Response
Booking a class
Saves a booking for the member
POST /group_class/book
Account privilege restriction:
Club manager
Administrator / Reception
Member
Request
Response
Canceling a class booking via API
Deletes a booking via API call (no redirect)
GET /book/cancel/{cancel_code}?ajax=true