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
DM 13DM 13 

APEX REST callout filter

Hi,

I need to make an apex REST callout to a 3rd party web service. I was wondering if there is a way to add filter while making callouts, so I get only required data by filtering it out. Can someone shed some light here please.

Thanks
SwethaSwetha (Salesforce Developers) 
HI DM13,
As per https://salesforce.stackexchange.com/questions/176494/best-api-option-for-returning-records-with-only-specific-changes

Both the REST API (https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_getupdated.htm) and SOAP API have methods to get only changed records during a period. As you noted, these will find any record updated in the given time period. Not just those where the fields of interest have been updated.

https://salesforce.stackexchange.com/questions/306657/multiple-callouts-making-a-separate-callout-for-each-record-in-a-list

If this information helps, please mark the answer as best. Thank you