You need to sign in to do that
Don't have an account?

Query multiple objects using SOAP API
HI,
I need to query Account records and also opportunities associated with that account based on Account Id using SOAP API enterprise wsdl.
I there a way to fetch this data in a single call,rather than making 2 seperate Query calls.currenlty I am using 2 seperate query calls to achieve this.
Please help.
Thanks in Advance!!
I need to query Account records and also opportunities associated with that account based on Account Id using SOAP API enterprise wsdl.
I there a way to fetch this data in a single call,rather than making 2 seperate Query calls.currenlty I am using 2 seperate query calls to achieve this.
Please help.
Thanks in Advance!!
I am getting below error:
Didn't understand relationship 'opportunity' in FROM part of query call. If you are attempting to use a custom relationship, be sure to append the '__r' after the custom relationship name. Please reference your WSDL or the describe call for the appropriate names.
Please help and give me a sample query on how to fetch data from Account and Opportunity object in single query call.I dont want to make 2 query calls one for Acocunt and one for Opportunity.
Thanks in advance!!