function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MohanbabuMohanbabu 

How can get AccountName and Contact First Name from API

Hi,
 
Can I write joins using query method of salesforce API.
Because i have a need to get accountname and contact firstname at a time.
But i have only accountid in contact table.
 
 
Can anyone please help me in this.
 
 
Thanks,
Mohan.
Gareth DaviesGareth Davies

Hi Mohan

At the moment it's a two step process. If all you have is the ContactID use Retrieve to get the the Contact fields you need including AccountID and use Retreive to get what you need from Account.

Hope that helps

Gareth.