McDewey

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

Page 529

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

getType() Retrieves the PhoneBook type. The following are the two types of PhoneBooks. • GLOBAL—By default, available to all agents. Cisco Finesse supports a maximum of 10 global PhoneBooks. • TEAM—The administrator assigns the PhoneBooks to a specific team. Cisco Finesse supports a maximum of 300 team PhoneBooks. Returns {String} The PhoneBook type. PhoneBooks Class finesse.restservices.PhoneBooks Extends finesse.restservices.RestCollectionBase Represents the phone book collection object. Example _phoneBooks = _user.getPhoneBooks({ onCollectionAdd: _handlePhoneBookAdd, onCollectionDelete: _handlePhoneBookDelete, onLoad: _handlePhoneBooksLoaded }); _phoneBookCollection = _phoneBooks.getCollection(); for (var phoneBookId in _phoneBookCollection) { if (_phoneBookCollection.hasOwnProperty(phoneBookId)) { _phoneBook = _phoneBookCollection[phoneBookId]; etc... } } For additional parameters and methods, see RestCollectionBase Common Parameters, on page 452. ReasonCodeLookup Class finesse.restservices.ReasonCodeLookup Extends finesse.restservices.RestBase Common Parameters Retrieves the ReasonCode using the reason code value and category provided by the user. Method lookupReasonCode(handlers, reasonCodeValue, reasonCodeCategory) Performs a GET operation against the Cisco Finesse server, for looking up the reason code with its reason code value, and category. Example new finesse.restservices.ReasonCodeLookup().lookupReasonCode({ success: _handleReasonCodeGet, error: _handleReasonCodeGetError Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 513 Cisco Finesse JavaScript APIs PhoneBooks