Implement single therapist bookings for V1
post https://api.zenoti.com//v1/bookings
This API ensures that when consider_single_therapist_slot is set to true, all booked services are assigned to the same therapist.
Json Property | Data Type | Description |
---|
center_id | Guid | Center identifier |
date | DateTime | Date of the booking |
booking_source | BookingSource? | Source of the booking (nullable enum) |
guests | List<GuestBookingModel> | List of guest booking models |
campaign_id | Guid? | Campaign identifier (nullable) |
reference_no | long? | Reference number (nullable) |
appointment_type | GroupAppointmentType? | Type of appointment (nullable enum) |
consider_center_timings | bool | Whether to consider center timings |
is_booking_at_different_times_for_different_guests | bool | Allow booking at different times for different guests |
therapist_double_booking | TherapistDoubleBooking? | Therapist double booking mode (nullable enum) |
is_only_checked_in_employees | bool | Restrict to checked-in employees only |
is_noncontiguous_slots | bool | Allow non-contiguous booking slots |
is_surprise | bool | Whether the booking is a surprise |
host_id | Guid? | Host identifier (nullable) |
reservation_id | Guid? | Reservation identifier (nullable) |
is_only_catalog_employees | bool | Restrict to catalog-listed employees only |
can_reschedule_appointment | bool | Whether appointment can be rescheduled |
service_applied_with_in-time_discount | bool | Indicates if in-time discount is applied |
is_double_booking_enabled | bool? | Allow overlapping booking even when therapist is busy |
is_family_booking | bool | Indicates a family-only booking |
relationship_host_id | Guid? | User ID of the relationship host (nullable) |
skip_catalog_validations | bool | Whether to skip catalog validations |
waitlist_group_id | Guid? | Waitlist group identifier (nullable) |
use_online_booking_template | bool | Use online booking template |
preserve_order | bool | Preserve service booking order |
is_couple_booking | bool | Indicates a couple’s booking |
allow_future_bookings | bool | Allow bookings for future dates |
Json Property | Data Type | Description |
---|
id | Guid? | Guest ID (nullable) |
notes | string | Notes related to the guest |
items | List<ItemRequestModel> | List of item bookings per guest |
reservation_id | Guid? | Reservation ID (nullable) |
Json Property | Data Type | Description |
---|
item | BaseItemModel | The item/service being booked |
therapist | TherapistRequestModel | Therapist requested for the item |
room | RoomRequestModel | Room requested for the item |
equipment | EquipmentRequestModel | Equipment requested for the item |
qty | int? | Quantity of the item (nullable) |
Json Property | Data Type | Description |
---|
id | Guid? | Item identifier (nullable) |
item_type | ItemType | Type of the item being booked |
Json Property | Data Type | Description |
---|
id | Guid? | Therapist ID (nullable) |
gender | RequestedGender? | Gender preference (nullable enum) |
Json Property | Data Type | Description |
---|
id | Guid? | Room ID (nullable) |
Json Property | Data Type | Description |
---|
id | Guid? | Equipment ID (nullable) |
Json Property | Data Type | Description |
---|
id | Guid | Booking ID returned in the response |
Enum Member | Value Type | Description |
---|
Online | int | Booking made via online portal |
Phone | int | Booking made via phone |
InCenter | int | Booking made directly at the center |
ThirdParty | int | Booking received from a third-party system |
Enum Member | Value Type | Description |
---|
Group | int | Standard group appointment |
Couple | int | Couple’s booking |
Family | int | Family group booking |
Enum Member | Value Type | Description |
---|
NotAllowed | int | Do not allow double booking |
AllowedWithPrompt | int | Allow with warning or confirmation |
AlwaysAllowed | int | Always allow double booking |
Enum Member | Value Type | Description |
---|
Service | int | Regular service item |
Package | int | Service package |
Membership | int | Membership-based item |
Product | int | Retail product |
Enum Member | Value Type | Description |
---|
Any | int | No gender preference |
Male | int | Prefer male therapist |
Female | int | Prefer female therapist |