Scheduler

The Scheduler HAPI component will pull data related to events from the Control Panel

There are 2 types of schedulers: Appointments and Reservations

Schedulers are a one-to-one relationship or a one-to-many depending on if it's an Appointment or Reservation.

Appointments examples: 1-on-1 Appointment, Spa Appointment, etc.

Reservation examples: Workspace, Hotel Rooms, Dining Reservations, etc.

The 2 data-pv-type values are:

  1. item - this provides the data on a scheduler based on the query string and/or data-pv-parameters

  2. bookings - this provides data on customer booking data

<div data-pv-component="scheduler" data-pv-type="item" data-pv-object="abc">
    // Some code
</div>

The code above has data-pv-object so you will be able to see all data pulled by typing "abc" into the developer console.

Last updated