Please Note: This guide is only relevant for Online Booking version 3 which was made available from 20/10/2016. If you acquired Online Booking before this time or have not upgraded to version 3 please see the following guide: Integrating PPS Online Booking into a Website
It is possible to predefine the Appointment Type and Location search for clients using Online Booking.
Please note that this feature is intended to be used by web developers and will need to be included in the Online Booking Integration process. For more information on integrating PPS Online Appointment Booking into a website please see the Integrating PPS Online Booking into your Website guide.
Here's an example of what a configuration using predefined options might look like:
The configuration options must be included within the OnlineBooking object. It is not necessary to specify all options, each can be used independently.
Setting Parameter Name Notes
Appointment Type: "appointmentType" Sets the Appointment Type that will be selected when completing the search options. Note the Appointment Type name rather than the name set to display online must be used.
Location: "clinicLocation" sets the Location that will automatically be selected when searching for appointments. The full list of available locations will display and the user can select another location if desired. Note the Location Name rather than the name set to display online must be used.
Practitioner: "practitioner" sets the chosen Practitioner for the appointment search. The practitioner name rather than the online display name should be set here.
Important: You are not able to set predefined parameters for multiple appointment types/locations/practitioners on one page, they will need to be set individually.