You need to sign in to do that
Don't have an account?
![odie odie](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
query multiple objects
Hi,
I am using the SF Webservices API to query SF objects. I want to query Leads and Contacts by phone number and I want to return matched records. Currently, I am using 2 seperate web service queries to achieve this, but is there anyway I can achieve this in only one query?
Thanks, Odie
![](/forums/img/s.gif)
![](/forums/img/s.gif)
You might find the search is a better match for what you're trying to do. (it will also search multiple object types in a single call)