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:
| # | Element | Description |
|---|---|---|
| 1 | Unavailable message | Explains why the doctor is unavailable |
| 2 | Start new search action | Returns the patient to the Home screen |
| 3 | Close action | Dismisses the popup |
Workflow
- Detect an update to the appointment request.
- Confirm that the selected doctor no longer matches the request.
- Call
PUT /api/v3/appointments/book/error/asap-unavailable. - Display the ASAP Not Available popup.
- Select Start new search.
- Return to the Home screen.
Validations
| Scenario | App behavior | SDK output |
|---|---|---|
| Selected doctor is unavailable | Display the popup | Page object |
Request returns 200 | Render the returned page | Page object |
Request returns 405 | Display an application error | Error response |
| Session is invalid | Reject the request | Authentication error |
Actions
| Scenario | App behavior | SDK output |
|---|---|---|
| Start new search selected | Open the Home screen | Navigation event |
| Close selected | Dismiss the popup | Close 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.