Book a class session

This API helps you to create a booking for the specified class session for a signed-in guest.

You must provide a unique identifier of the session as session_id in the API request. The API then returns the RegistrationId and RegistrationStatusId details of the booking.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Response Details

NameTypeDescription
SuccessbooleanIndicates whether the specified class session was successfully booked.
RegistrationIdintUnique identifier of the class registration.
RegistrationStatusIdintUnique identifier of the status of registration of the class session.
ErrorobjectObject that contains error message and error code details. For more information, refer to the Error Object table.

Error Object

codemessage
502 - Invlid InputPlease pass the SessionId to which the user should be registered.
1015 - UserNotLoggedinPlease login to register for a class.
1022 - RegistrationLockWindowStartedCannot be Enrolled/Registered to the session, the registration lock window has begun.
1019 - WaitlistLockWindowStartedCannot be added to the waitlist, the lock window has begun.
Query Params
int64
required

Mandatory Unique identifier of the required class session to be booked.

string
enum

Optional Source from which the class session is to be booked. The possible values for this parameter are: 0 = Store, 1 = Mobile, 2 = Web, and 3 = BookingWizardAdvancedMode.

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json