Phone number variable is truncated

Status
Not open for further replies.

gmt_george

Forum User
Joined
Feb 3, 2021
Messages
2
Reaction score
0
3CX can make an api call successful to Zoho but the phone number is truncated. For example, if I search for 5551234 it's truncated to 551234.

Request text: https://www.zohoapis.com/crm/v2.1/Contacts/search?criteria=((Phone:equals:551234) or (Mobile:equals:551234) or (Home_Phone:equals:551234) or (Other_Phone:equals:551234) or (Fax:equals:551234))&fields=Account_Name,id,First_Name,Last_Name,Phone,Mobile,Home_Phone,Asst_Phone,Other_Phone,Email,Fax
Response text:
Response finished
Finished scenario with empty id
Started scenario with empty id
Request text: https://www.zohoapis.com/crm/v2.1/Leads/search?criteria=((Phone:equals:551234) or (Mobile:equals:551234) or (Fax:equals:551234))&fields=id,First_Name,Last_Name,Phone,Mobile,Fax,Email,Company
Response text:
Response finished
Finished scenario with empty id
Started scenario with empty id
Request text: https://www.zohoapis.com/crm/v2.1/Accounts/search?criteria=((Phone:equals:551234) or (Fax:equals:551234))&fields=id,Phone,Fax,Account_Name
Response text:
Response finished
Finished scenario with empty id
Started CreateContactRecord
Response finished
Finished CreateContactRecord
Result obtained

Of course, it never finds anything. Any idea what's causing this?
 
Management Console > Advanced > Contacts > Options

Set the matching strategy to either 10-digits or match exactly. That controls how many digits are looked up in the CRM.
 
That fixed it.

Thanks!
 
Status
Not open for further replies.

Members Online Now

No members online now.

Forum statistics

Threads
111,843
Messages
589,327
Members
164,679
Latest member
SamadMYK