McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 519

↗ View in doc context
page
519
source
finesse/v12.5/developer-guide/developer-guide.md
chunk_id
finesse::v12.5::developer-guide::developer-guide::503

MediaDialog.TaskActions Class finesse.restservices.MediaDialog.TaskActions Contains the various task actions that can be performed on a non-voice media dialog. This is used for setting task state in finesse.restservices.MediaDialog.setTaskState. Field Details Description Field The user accepts an incoming task. ACCEPT The user ends a task. CLOSE The user pauses work on an active task. PAUSE The user resumes work on a paused task. RESUME The user starts work on an accepted task. START The user transfers an accepted, active, or paused task to another script selector or dialed number (target). TRANSFER The user wraps up work for a task. WRAP_UP MediaDialogs Class finesse.restservices.MediaDialogs Extends finesse.restservices.Dialogs Represents the list of non-voice media dialogs in a media channel. Fetches the list from the corresponding media, finesse.restservices.Media.getMediaDialogs. Extracts the Individual media dialogs from the media list using their Id. Example _MediaDialogs = _media.getMediaDialogs({ onCollectionAdd: _handleDialogAdd, onCollectionDelete: _handleDialogDelete, onLoad: _handleMediaDialogsLoaded }); _dialogCollection = _MediaDialogs.getCollection(); for (var dialogId in _dialogCollection) { if (_dialogCollection.hasOwnProperty(dialogId)) { _dialog = _dialogCollection[dialogId]; etc... } } For additional parameters and methods, see RestCollectionBase Common Parameters, on page 452. Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 503 Cisco Finesse JavaScript APIs MediaDialog.TaskActions