Get Dummy Service Resource
Show your users the dummy resource and its availability based on the selected work type group and service territory.
-
Create a page to show your users dummy service resources.
-
Make a
POSTrequest on thegetAppointmentCandidatesREST API by passing the requiredworkTypeGroupIdandterritoryIdsparameters. SetallowConcurrentSchedulingtotrueto get concurrent time slots for the dummy resource.Specify the operating hour scheduling policy ID to show only the dummy resource who’s defined with operating hours for concurrent scheduling. See Configure Scheduling Policy to Enforce Operating Hours.
Resource URI
Where
YOUR_INSTANCEis a variable.Sample Request
Sample Response
The API returns the service resources and available time slots.
-
Parse the JSON response, and show the dummy resource on a page that you created. Your users can select the dummy resource for the appointment.
On the next page, you can show the appointment details for the user to review and create the appointment.