Skip to main content

ASAP Unavailable


Use ASAP Unavailable when the first available doctor request cannot continue. The app returns the patient to the Home screen to start a new search.


ASAP unavailable popup with instructions to return to the Home screen and start a new search

This screen includes:

#ElementDescription
1Error messageStates that the request failed
2Recovery instructionDirects the patient to start a new search
3Close actionsDismiss the popup

Workflow

  1. Request the first available doctor.
  2. Detect that the request cannot continue.
  3. Call PUT /api/v3/appointments/book/error/asap-no-available-doctors.
  4. Display the ASAP Unavailable popup.
  5. Select OK or the close action.
  6. Return to the Home screen.

Validations

ScenarioApp behaviorSDK output
ASAP request cannot continueDisplay 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
OK selectedReturn to the Home screenNavigation event
Close selectedReturn to the Home screenNavigation event

Endpoint Resources

PUT ASAP Unavailable

ASAP Unavailable

PUT 

v3/appointments/book/error/asap-no-available-doctors

Returns a popup when the first available doctor request cannot continue.