Change Appointment Time

A time slot represents a period in a day when an appointment can be scheduled.

  1. Create a page to show the available time slots for the resource associated with the appointment.

  2. Make a POST request on the getAppointmentSlots REST API by passing the required workTypeGroupId or workTypeId parameter along with the .territoryId parameter.

    Resource URI

    Sample Request

    Using the WorkTypeId parameter.

    Using the WorkTypeGroupId parameter.

    Sample Response

    The API returns the available time slots for a resource.

  3. 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.