McDewey

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

Page 509

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

Returns {finesse.restservices.TeamSignOutReasonCodes} The TeamSignOutReasonCodes object. getRestUrl() Retrieves the URL for the SignOutReasonCodes resource. update(newValues, handlers) Updates the sign out reason codes with new values. Parameters Required Description Type Name Yes The new values to be set which is triggered after user signs out such as, reasoncode name, label or code, global status. Object newValues Yes An object containing the handlers for the request. For more information on handlers, see Request Handlers, on page 447. Object handlers Returns {finesse.restservices.TeamSignOutReasonCodes} The TeamSignOutReasonCodes object. Media Class finesse.restservices.Media Extends finesse.restservices.RestCollectionBase Represents a non-voice media channel such as, chat or email. This object can be used to perform various actions in the media channel such as, logging into, or logging out of the media channel, setting the state of the user for the media channel (Ready, Not Ready), setting the maximum allowed number of dialogs for this media, and so on. Example _mediaCollection = mediaList.getCollection(); if (_mediaCollection.hasOwnProperty(_emailMediaId)) { media = _mediaCollection[_emailMediaId]; media.login({ maxDialogLimit: 5, interruptAction: 'ACCEPT', dialogLogoutAction: 'CLOSE', handlers: _handlers }); ... } } For additional parameters and methods, see RestCollectionBase Common Parameters, on page 452. Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 493 Cisco Finesse JavaScript APIs Media