Can we search all phone number fields starting with special character?

Tagged:

Currently contains 2 posts

Avatar

November 20, 2018 12:06

Vonage_gUDev

We are trying to get candidate information by using search query
we have candidate with MobilePhone number format like this (292) 282-8286
Our query:
https://www.pcrecruiter.net/rest/api/candidates?query=MobilePhone sw (292) 282-8286
By this URL we could not get the candidate data
Instead of that URL, We Using this URL
https://www.pcrecruiter.net/rest/api/candidates?query=MobilePhone sw 2922828286
Here We changing the Mobile number format 2922828286 instead of (292) 282-8286
After using
Is there any Possible way to find out the data by searching this format (292) 282-8286

Avatar

November 20, 2018 15:31

Wayne-PCRecruiter

The parenthesis can cause issues when searching for phone numbers through the API when they are part of the search value. Phone fields values in the search are formatted behind the scenes to be more searchable against the database and the current formatting rules a client has set up.

Reply to thread