Skip to main content

Off Hours for Edit


Use Off Hours for Edit to request an appointment time outside standard availability while modifying an existing appointment.

The popup displays the off-hours fee and lets the user enter a preferred appointment time.



This screen includes:

#ElementDescription
1Appointment contextDisplays the appointment request behind the popup
2Popup titleDisplays Off-hours visit
3Off-hours feeDisplays the additional off-hours fee
4Instruction textRequests a preferred appointment time
5Time inputDisplays the selected preferred time
6Time pickerOpens the time selection control
7OK actionSubmits the selected off-hours time
8Cancel actionCloses the popup without changes

Workflow

  1. Open the appointment edit flow.
  2. Select an appointment option that supports off-hours requests.
  3. Open the off-hours visit popup.
  4. Review the off-hours fee.
  5. Enter a preferred appointment time.
  6. Select OK.
  7. Submit the off-hours request.

Validations

ScenarioApp BehaviorSDK Output
Appointment editableDisplay off-hours request flowstate = editable
Off-hours supportedDisplay off-hours popupoffHours = available
Time not enteredBlock submissionvalidation = required
Time enteredEnable submissionvalidation = valid
Request acceptedContinue edit flowstatus = success
Request rejectedDisplay error statestatus = 405

Actions

ScenarioApp BehaviorSDK Output
Off-hours popup openedLoad off-hours request popupPUT /api/v3/wizard/time-location-selection/{appointment-id}/off-hours
Time selectedUpdate preferred appointment timetime = updated
OK selectedSubmit off-hours requestPOST /api/v3/wizard/time-location-selection/{appointment-id}/off-hours/submit
Cancel selectedClose popupstate = cancelled

Endpoint Resources

Off Hours for Edit

PUT 

v3/wizard/time-location-selection/{appointment-id}/off-hours

Returns the off-hours visit popup for an appointment edit flow

Submit Off Hours for Edit

POST 

v3/wizard/time-location-selection/{appointment-id}/off-hours/submit

Submits the selected off-hours time