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
someonesomeone 

contact/account/leads api

I'm looking for all possible options to query for account, contact, and lead data. I have seen the REST and SOQL API's. I have also seen that other types of data, such as user information, can be queried for using an apex funtion such as:

sforce.interaction.runApex('UserInfo', 'getUserName', '', function(response){
       ...
});

Is there something similar to the above for account/contact/lead data?

Thanks