Skip to main content

ASAP Not Available


Use ASAP Not Available when updated request details make the selected doctor unavailable.

This endpoint applies only to users who enter the Wizard from a direct link. Selecting Start new search returns the patient to the Home screen.



This screen includes:

#ElementDescription
1Unavailable messageExplains why the doctor is unavailable
2Start new search actionReturns the patient to the Home screen
3Close actionDismisses the popup

Workflow

  1. Detect an update to the appointment request.
  2. Confirm that the selected doctor no longer matches the request.
  3. Call PUT /api/v3/appointments/book/error/asap-unavailable.
  4. Display the ASAP Not Available popup.
  5. Select Start new search.
  6. Return to the Home screen.

Validations

ScenarioApp behaviorSDK output
Selected doctor is unavailableDisplay the popupPage object
Request returns 200Render the returned pagePage object
Request returns 405Display an application errorError response
Session is invalidReject the requestAuthentication error

Actions

ScenarioApp behaviorSDK output
Start new search selectedOpen the Home screenNavigation event
Close selectedDismiss the popupClose event

Endpoint Resources

Asap Not Available

PUT 

v3/appointments/book/error/asap-unavailable

Returns a popup when updated request details make the selected doctor unavailable for users who enter the Wizard from a direct link.