Retrieve the session registrations of a guest

This API helps you to retrieve the list of class sessions for which the specified guest has registered.

You must provide the appropriate details in the API request for the user_id parameter. Optionally, you can also specify the required details in the API request for several other parameters to filter the search results in the API response. Refer to the Request Parameters table for more information.

Response Details

NameTypeDescription
successbooleanIndicates whether the class session registrations of the specified guest was successfully retrieved.
resultsobjectObject that contains detailed information on the class sessions for which the guest has registered. For more information, refer to the results Object table.
totalintTotal number of class sessions for which the guest has registered.
ErrorobjectObject that contains error message and error code details. For more information, refer to the Error Object table.

results Object

NameTypeDescription
IdintUnique ID of the class session registration.
StartTimedatetimeStarting time of the booked session.
EndTimedatetimeEnding time of the booked session.
RegistrationStatusenumIndicates the status of the registration for the class session: Registered = 0, Cancelled = 1, NoShow = 2, SignedIn = 3, Waitlisted = 4, Substituted = 5, ClassCancelled = 6, Closed = 7, Enrolled = 8, Rejected = 9.
SessionStatusenumIndicates the status of the class session: Active = 0, Cancelled = 1, Upcoming = 2, Inprogress = 3, and Completed = 4.
InstructorIdguidUnique 32-character identifier of the instructor who will perform the class session.
InstructorstringName of the instructor.
ImagePathsdictionary?Name-value pairs of images that contain pixel sizes and location respectively.
CenterstringName of the center at which the guest has registered for the session.
CancellationFeeWindowintNumber of days within which the guest must pay the cancellation fee for the class.
CancellationFeedoubleCancellation fee that the guest must pay for the class.
ClassNamestring?Name of the class.
ClassDescriptionstring?Description of the class.
ClassHtmlDescriptionstring?Description of the class in HTML.
SessionDescriptionstring?Description of the registered session.
SessionHtmlDescriptionstring?Description of the registered session in HTML.
CanCancelbooleanIndicates whether the guest can cancel the booked session.
ClassImagePathsdictionary?Name-value pairs of class images that contain pixel sizes and location respectively.
CurrentWaitlistPositionintCurrent position of the guest on the waiting list for the class session.

Error Object

codemessage
502 - InvalidInputThe UserId passed is not of the logged-in guest.
404 - Not FoundSomething went wrong.
502 - InvalidInputCurrently more than one sorter is not supported.
502 - InvalidInputCurrently only StartDate is supported as sorter.
***The date range cannot be more than a month, getting registrations for a month.
Language
Credentials
Header
Click Try It! to start a request and see the response here!