/mcpExample _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 RestBase Common Parameters, on page 450. Methods getDescription() Retrieves the description for a contact. Returns {String} The description for a contact. getFirstName() Retrieves the first name of a contact. Returns {String} The first name of a contact. getLastName() Retrieves the last name of a contact. Returns {String} The last name of a contact. getPhoneNumber() Retrieves the phone number. Returns {String} The phone number. Contacts Class finesse.restservices.Contacts Extends finesse.restservices.RestCollectionBase Represents the Contacts collection object and also exposes methods to operate on the object against the server. Example Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 510 Cisco Finesse JavaScript APIs Contacts