bookings

This will pull back a specific scheduler slots data

<div data-pv-component="scheduler" data-pv-type="bookings" data-parameters="{schedule_item_no: 123}" data-pv-object="abc">
    // Some code
</div>

Common HAPI elements used within the <div>:

  • {@book_status@} - this will return the booking status

  • {@location.address1@} - this will return the address of the booking venue

  • {@location.city@} - this will return the city of the booking venue

  • {@location.location_name@} - this will return the name of the booking venue

  • {@location.state@} - this will return the state of the booking venue

  • {@location.zipcode@} - this will return the zipcode of the booking venue

  • {@location.hours_today@} - this will return the today hours of the booking venue

  • {@location.location_website@} - this will return the website of the booking venue

  • {@location.phone_number@} - this will return the phone number of the booking venue

  • {@slot_subject@} - this will return the slot title

Common data-pv-parameters used within the <div>:

  • customer_no: '{@var_customer_no@}'

  • returntotal: '999'

  • includeStatus: ['booked, confirmed, completed. cancelled']

  • category_no: '123'

  • slot_start: 'date'

  • slot_end: 'date'

Last updated