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
Manoj ParidaManoj Parida 

HTTP call outs making use of multiple objects.

Hi,

We want to make a REST API call to fetch multiple objects from Salesforce. Is there any solution/idea available around this?

Thanks,
vsabbellavsabbella
When a rest api call is made response is returned in JSON format. When you define a custom endpoint in salesforce the json data can include data from many objects. But the limits on the numbers of queries has to be considered when querying data from multiple objects

This guide is what you might be looking for.
https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_what_is_rest_api.htm