get https://api.zenoti.com/v1/guests//registrations?start_date=2022-10-15&end_date=2022-10-18&class_type=1&filters.period=0&page=2&size=2&expand[0]=centers&expand[1]=instructors&expand[2]=sessions&expand[3]=classes
Purpose: Use this API to fetch the user registrations to the classes or workshops.
You must specify the guest_id and the parameters mentioned in PATH PARAMS section.
| Json Property | Data Type | Description |
|---|
| registrations | List<UserRegistrationResponseV1> | List of user registration responses |
| sessions | List<SessionModelSimpleV1> | List of session models |
| classes | List<RegistrationClassModelV1> | List of registration class models |
| centers | List<RegistrationCenterModelV1> | List of registration center models |
| instructors | List<InstructorModelV1> | List of instructor models |
| guest_passes | List<GuestPassModelV1> | List of guest pass models |
| guest_milestone_details | SpaManagement.Users.User.MilestoneLevelsWithTotalCheckIns | Milestone levels achieved and next milestone details |
| page_info | PaginationDetailsViewModel | Details about pagination |
| error | APIV1GuestRegistrationsErrorModel | Error model in case of any errors |
| Json Property | Data Type | Description |
|---|
| id | long | Registration ID |
| guid | Guid | Registration GUID |
| session_id | Guid | Session ID |
| instructor_id | Guid | Instructor ID |
| class_id | long | Class ID |
| center_id | Guid | Center ID |
| invoice_id | Guid? | Invoice ID (nullable) |
| appointment_group_id | Guid? | Appointment group ID (nullable) |
| payment_source | string | Payment source |
| custom_form_fill_status | int | Custom form fill status |
| guest_form_status | String | Guest form status |
| guest_pass_id | Guid? | Guest pass ID (nullable) |
| current_waitlist_position | int? | Current waitlist position (nullable) |
| status | RegistrationStatus | Registration status |
| virtual_guest_registrations | List<VirtualGuestReservation> | List of virtual guest reservations |
| Json Property | Data Type | Description |
|---|
| id | long | Session ID |
| guid | Guid | Session GUID |
| name | string | Session name |
| start_time | DateTime | Start time of the session |
| end_time | DateTime | End time of the session |
| start_time_utc | DateTime | Start time of the session in UTC |
| end_time_utc | DateTime | End time of the session in UTC |
| session_status | SessionStatus | Session status |
| instructor_id | Guid | Instructor ID associated |
| center_id | Guid | Center ID associated |
| class_id | long | Class ID associated |
| cancellation_fee_window | int? | Cancellation fee window (nullable) |
| cancellation_fee | decimal? | Cancellation fee (nullable) |
| description | string | Session description |
| html_description | string | Session HTML description |
| can_cancel | bool | Can session be canceled |
| student_virtual_link | string | Student virtual link |
| is_virtual_class | bool | Is the class virtual |
| virtual_type | int | Virtual class type |
| feedback_status | FeedbackStatus | Feedback status |
| Json Property | Data Type | Description |
|---|
| id | long | Class ID |
| name | string | Class name |
| type | int | Class type |
| description | string | Class description |
| html_description | string | Class HTML description |
| start_time | DateTime? | Start time of the class (nullable) |
| end_time | DateTime? | End time of the class (nullable) |
| image_paths | Dictionary<string, string> | Image paths for the class |
| Json Property | Data Type | Description |
|---|
| id | Guid | Center ID |
| country | CountryModelV1 | Country model |
| state | StateModelV1 | State model |
| name | string | Name of the center |
| latitude | double? | Latitude of the center (nullable) |
| longitude | double? | Longitude of the center (nullable) |
| address1 | string | Address line 1 |
| address2 | string | Address line 2 |
| city | string | City |
| zip | string | Zip code |
| phone1 | PhoneModelV1 | Primary phone |
| phone2 | PhoneModelV1 | Secondary phone |
| email | string | Email address |
| center_info | string | Information about the center |
| service_tax_number | string | Service tax number |
| tin | string | TIN |
| vat | string | VAT |
| cst | string | CST |
| can_book | bool | Can book |
| center_code | string | Center code |
| time_zone | TimeZoneModelV1 | Time zone model |
| collect_feedback | bool? | Collect feedback (nullable) |
| working_hours | List<CenterWorkingHoursModel> | List of working hours |
| are_service_available_in_center | bool | Services available in center |
| feedback_link | string | Feedback link |
| feedback_label_text | string | Feedback label text |
| is_payment_enabled | bool | Is payment enabled |
| is_center_voided | bool | Is center voided |
| is_service_sale_enabled | bool | Is service sale enabled |
| is_membership_sale_enabled | bool | Is membership sale enabled |
| is_gift_card_sale_enabled | bool | Is gift card sale enabled |
| is_series_package_sale_enabled | bool | Is series package sale enabled |
| is_deals_enabled | bool | Is deals enabled |
| enable_self_pay | bool | Enable self pay |
| enable_self_checkin | bool | Enable self check-in |
| enable_auto_pay | bool | Enable auto pay |
| allow_self_checkin_before | int | Allow self check-in before |
| allow_checkin_within_radius | int | Allow check-in within radius |
| online_booking_start_date | DateTime? | Online booking start date (nullable) |
| zone_details | ZoneInfo | Zone information |
| Json Property | Data Type | Description |
|---|
| id | int | Time zone ID |
| name | string | Time zone name |
| standard_name | string | Standard time zone name |
| symbol | string | Time zone symbol |