How To Use OR Operator In A REST API Query?

(Doc ID 2250296.1)

Last updated on MARCH 31, 2017

Applies to:

Oracle Fusion Sales Cloud Service - Version and later
Information in this document applies to any platform.


Its regarding usage of OR operator to perform search across fields in R12.

Customer used the sample query
Example query body:...&q=OrganizationName = 'ABC' or OwnerName = 'xyz'

Query used: https://[hostname]/crmCommonApi/resources/ = 'Testing Complete' or OwnerName = 'xyz'

The response generated by this REST query returns only 1 account record whose Organization Name is "Testing Complete".


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms