From Bright Pattern Documentation
• 5.3
Contents
- Desktop JavaScript API Specification Introduction
- Purpose
- AudienceAPI Methods
- General InformationDialing and Transfers
- Dial Number
- Select Service
- setRescheduleWindow
- Single-Step Transfer
- Single-Step ConferenceCompleting and Terminating an Interaction
- Complete Interaction
- Complete Interaction with Disposition and Notes
- Post Variable
- Set Disposition
- Set Disposition By Name
- Set Notes
- Set Reporting Custom Field
- Terminate InteractionCall and Screen Recordings Control
- Callback
- Pause Call and Screen Recording
- Resume Call and Screen RecordingCall Recordings Control
- Get Call Recording Status
- Mute Call Recording
- Unmute Call Recording
- Start Call Recording
- Stop Call RecordingScreen Recordings Control
- Get Screen Recording Status
- Pause Screen Recording
- Resume Screen Recording
- Stop Screen Recording
setRescheduleWindow
Allows you to reschedule outbound dialing retry time to be within a specific timeframe with the option to specify a time zone.
The reschedule window will only affect outbound campaigns when a non-final disposition is selected. The data is retained in Agent Desktop until changed or the interaction is completed.
Request
Syntax
setRescheduleWindow(numberToDial, fromTime, untilTime, timezoneName);
Parameters
Parameter | Data Type | Required/Optional | Description | Example |
numberToDial | String | Required | The phone number to dial | "11234567" |
fromTime | String | Required | The start of the reschedule timeframe in “YYYY-MM-DD HH24:MM:SS” format | "2019-09-12 15:30:00" |
untilTime | String | Required | The end of the reschedule timeframe in “YYYY-MM-DD HH24:MM:SS” format (must be after the starting time) | "2019-09-13 15:30:00" |
timezoneName | String | Optional | The name of the timezone; if omitted, the timezone will be assumed to be the record’s detected timezone | “America/Los_Angeles” |