Change Appointment Time
A time slot represents a period in a day when an appointment can be scheduled.
-
Create a page to show the available time slots for the resource associated with the appointment.
-
Make a POST request on the
getAppointmentSlotsREST API by passing the requiredworkTypeGroupIdorworkTypeIdparameter along with the .territoryIdparameter.Resource URI
Sample Request
Using the
WorkTypeIdparameter.Using the
WorkTypeGroupIdparameter.Sample Response
The API returns the available time slots for a resource.
-
Parse the JSON response, and show the available time slots on the page.
Your users can select a time slot for the appointment from the page.