McDewey

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

Page 477

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

_user.getDialogsNoCache({ onLoad: handleDialogsLoadedCallDetails, onCollectionAdd: handleDialogsAddedCallDetails, onCollectionDelete: handleDialogsDeletedCallDetails, onError: handleDialogsErrorCallDetails }); Parameters Required Description Type Name Optional An object containing callback functions which are invoked when the callback scenario is triggered. Object handlers Returns {finesse.restservices.Dialogs} The Dialogs collection object. getExtension() Retrieves the extension that is associated with the user. Returns {String} The extension of the user. getFirstName() Retrieves the first name of the user. Returns {String} The first name of the user. getFullName() Retrieves the full name of the user. The full name format is FirstName LastName (for example, John Doe). Returns {String} The full name of the user. getLastName() Retrieves the last name of the user. Returns {String} The last name of the user. getMediaList(handlers) Retrieves the media list that is associated with the user. It retrieves the media dialog collection object. Example var mediaList = _user.getMediaList({ onCollectionAdd: _handleMediaAdd, onCollectionDelete: _handleMediaDelete, onLoad: _handleMediaListLoaded }); Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 461 Cisco Finesse JavaScript APIs User