You need to sign in to do that
Don't have an account?
roni 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
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
For pass dynamic ID in URL follow below link it may helpful for you.
https://developer.salesforce.com/forums/?id=906F0000000BC7CIAW
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi