getContacts

Get a list of Messaging and phone contacts and contact types.

This method is called when Messaging transfer or speed dial is clicked to get the rep’s contacts.

Signature 

getContacts(filter, workItemId) → Promise.<ContactsResult>

Returns: ContactsResult — Represents the result when getting a list of Messaging or phone contacts.

Parameters 

FieldTypeDescriptionRequired
filterContactsFilterCriteria used to limit contact results by search term and contact type.No
workItemIdstringThe work item ID associated with the transfer or conference action.No