My Oracle Support Banner

REST API> Query Telephone Field (Doc ID 2311152.1)

Last updated on NOVEMBER 06, 2019

Applies to:

Oracle CRM On Demand - Version 031CS to 031CS [Release 31]
Information in this document applies to any platform.

Goal

Why REST API query for LEAD record on PrimaryPhone doesn't return the result?

As an example of Rest API GET:

/OnDemand/user/Rest/026/Leads?q=PrimaryPhone= "+1 234 5678901"&fields=PrimaryPhone,LeadLastName,LeadFirstName

In UI, the value for Phone# is: +1 234 5678901

We also tried different PrimaryPhone format, like +1 234 5678901, +1 234 5678901, +1 234 5678901. All returns empty result.

Besides, we also tried LIKE in the query string, but LIKE doesn't work for PrimaryPhone.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.