Skip to main content

Appointment Scheduled


Use Appointment Scheduled to confirm that the selected alternative appointment is scheduled.

The modal displays the doctor, appointment date and time, location, and applicable price information.


Appointment Scheduled modal with doctor, date, time, location, price, and Close action

This screen includes:

#ElementDescription
1Confirmation messageStates that the appointment is scheduled
2Doctor detailsDisplays the doctor for the scheduled appointment
3Date and timeDisplays the scheduled appointment date, time, and time zone
4LocationDisplays the appointment location and distance when available
5PriceDisplays the applicable appointment price
6DiscountDisplays the original price, discounted price, and discount amount when applicable
7Close actionCloses the confirmation modal
8Close iconCloses the confirmation modal

Workflow​

  1. Select an alternative appointment.
  2. Confirm the selected alternative in the Alternative Appointment Offers flow.
  3. Complete the appointment approval request.
  4. Call PUT /api/v3/appointments/{appointment-id}/approve/success.
  5. Display the Appointment Scheduled modal.
  6. Review the scheduled appointment details.
  7. Select Close or the close icon to dismiss the modal.

Validations​

ScenarioApp behaviorSDK output
Appointment approval succeedsDisplay the Appointment Scheduled modalPage object
Scheduled appointment details are availableDisplay the applicable appointment informationPage object
Discount appliesDisplay the original price, final price, and discount amountPage object
No discount appliesDisplay the applicable appointment pricePage object
Request returns 200Render the returned success pagePage object
Request returns 405Display an application errorError response
Session is invalidReject the requestAuthentication error

Actions​

ScenarioApp behaviorSDK output
Success screen opensDisplay the scheduled appointment detailsPUT /api/v3/appointments/{appointment-id}/approve/success
Close selectedDismiss the confirmation modalClose action
Close icon selectedDismiss the confirmation modalClose action

Endpoint Resources​

Appointment Scheduled​

PUT 

v3/appointments/{appointment-id}/approve/success

Returns the success page after an alternative appointment offer is approved.