/mcp_contacts = _phonebook.getContacts({ onCollectionAdd: _handleContactAdd, onCollectionDelete: _handleContactDelete, onLoad: _handleContactsLoaded }); _contactCollection = _contacts.getCollection(); for (var contactId in _contactCollection) { if (_contactCollection.hasOwnProperty(contactId)) { _contact = _contactCollection[contactId]; etc... } } For additional parameters and methods, see RestCollectionBase Common Parameters, on page 452. InterruptActions Class finesse.restservices.InterruptActions InterruptActions are used during non-voice media login. These consist of the actions to be taken when the dialog has been interrupted by a dialog from another Media Routing Domain (MRD). Dialogs can be interrupted if they are in the ACTIVE, PAUSED, or WRAPPING UP states. While a dialog is interrupted, all actions for that dialog are disabled. The following are the action values. • ACCEPT • IGNORE Field Details Description Field The interrupt is accepted and the agent is not allowed to work on dialogs. ACCEPT The interrupt is ignored and the agent is allowed to work on dialogs. IGNORE Method isValidAction(action) Determines whether the action is valid dialog logout. Parameters Required Description Type Name Yes Action to evaluate the dialog. String action Returns {Boolean} True if the action is valid; otherwise it returns false. Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 511 Cisco Finesse JavaScript APIs InterruptActions