+ Start a Discussion

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?