Legacy Dev Forum Posts

 View Only

Sign Up

Query parameter using wildcard despite using full email address

  • 1.  Query parameter using wildcard despite using full email address

    Posted 06-05-2025 18:29

    arnorhaux | 2024-01-19 15:34:45 UTC | #1

    Hi

    We are using query parameter to match incoming email with external contact.

    When using (all values are examples and do not exist): GET 'sunnyb@gmail.com">https://api.mypurecloud.de/api/v2/externalcontacts/contacts?q=sunnyb@gmail.com'

    This will return two external contacts external contact 1:

    personalEmail: sunnybeach@gmail.com

    external contact 2:

    personalEmail: sunnyb@gmail.com

    This results that a wrong external contact is displayed in sidebar, because it just shows the first one from the api result, which is unfortunately the wrong external contact.

    Is there a way to specify that I am query-ing on particular field (personalEmail) and prevent the use of wildcards?


    anon69133951 | 2024-01-22 15:17:54 UTC | #2

    Hi,

    The query returns all results based on user supplied search keywords. It is currently not supported to query based on particular field.


    system | 2024-02-21 15:18:46 UTC | #3

    This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 24210