/mcpRequired Description Type Name Yes The action that is taken when the media is interrupted. The actions are: • ACCEPT • IGNORE For more information, see getInterruptAction(), on page 494. String -->interruptAction Yes The action taken with the dialogs that are associated with the media when the agent logs out. The actions are: • CLOSE • TRANSFER For more information, see getDialogLogoutAction(), on page 494. String -->dialogLogoutAction Yes An object containing the handlers for the request. For more information on handlers, see Request Handlers, on page 447. Object -->handlers If maxDialogLimit, interruptAction, and dialogLogoutAction are not present, then the loginOptions specified in the call to finesse.restservices.MediaList.getMedia is used. Note Returns {finesse.restservices.Media} The media object. logout(reasonCode, params) Logs out the agent from the media. Parameters Required Description Type Name Yes The reasonCode for the user to log out of the media. Pass null as the first parameter if no reason code is associated with the log out event. String reasonCode Yes An media object. Object params Yes An object containing the handlers for the request. For more information on handlers, see Request Handlers, on page 447. Object -->handlers Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 497 Cisco Finesse JavaScript APIs Media
