Get Dummy Service Resource

Show your users the dummy resource and its availability based on the selected work type group and service territory.

  1. Create a page to show your users dummy service resources.

  2. Make a POST request on the getAppointmentCandidates REST API by passing the required workTypeGroupId and territoryIds parameters. Set allowConcurrentScheduling to true to 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_INSTANCE is a variable.

    Sample Request

    Sample Response

    The API returns the service resources and available time slots.

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