Your UX is waiting ...interact, engage, explore in Las Vegas at CloudWorld 2023

Learn more
Search for PhoneNumber via REST - CTI — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Search for PhoneNumber via REST - CTI

Received Response
37
Views
1
Comments
edited Jan 15, 2021 1:00PM in Sales 1 comment

Summary

best way to identify contact based on a phone number

Content

Hi,
we are working on a lightweight integration between our CTI solution and SalesCloud. So we just want to query with phone number and get ContactName & Account back. One challenge is of course that there are many phone numbers on a contact...

We would start with a straight forward approach and simply query contacts with the number on the two main phone fields (we have some doubts on performance...).
/crmRestApi/resources/latest/contacts?q=RawMobileNumber='<phnoneNumber>' or RawWorkPhoneNumber='<phnoneNumber>'&onlyData=true&fields=FirstName,LastName,AccountName,AccountSourceSystemReferenceValue

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!