get https://api.zenoti.com/v1/classes//registrations?session_id=¢er_id=&expand=session&expand=status_count&page=1&size=10
This API helps you to retrieve a list of registrations for the class sessions.
You must provide the appropriate details in the API request for the class_id, session_id and center_id parameters. Optionally, you can also specify the required expand parameters in the API request. Refer to the Request Parameters table for more information.
Error Object
| code | message |
|---|---|
| 502 - InvalidInput | The UserId passed is not of the logged-in guest. |
| 404 - Not Found | Something went wrong. |
| 502 - InvalidInput | Currently more than one sorter is not supported. |
| 502 - InvalidInput | Currently only StartDate is supported as sorter. |
Registration status values
| Status | Value |
|---|---|
| Registered | 0 |
| Cancelled | 1 |
| NoShow | 2 |
| SignedIn | 3 |
| Waitlisted | 4 |
| Substituted | 5 |
| ClassCancelled | 6 |
| Closed | 7 |
| Enrolled | 8 |
| Rejected | 9 |
