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
roni shoreroni shore 

Pass dynamic Id Rest Api URL

Hi Guys,
I have written a rest api , get callout class to fetch the Bulk load job, using '/services/data/v45.0/jobs/ingest/'. This provides all the id with details of bulk jobs in JSON format.
I need to fetch the failedrecords from each of the loads, but that requires to pass Id's dynamically in the url (like: /services/data/v45.0/jobs/ingest/jobId/failedRecords ), can someone pls suggest how to do that
Ajay K DubediAjay K Dubedi
Hi Roni,

For pass dynamic ID in URL follow below link it may helpful for you.

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Ajay Dubedi