You need to sign in to do that
Don't have an account?
Siddhartha Tomar 12
How to make a callout in batch class
Hi All,
I have a requirement where i want to make the callout with 5000 records and my api support one record at a time. So i have to make the callout for 1 record at a time i.e 5000 callout. Can you please let me know can i do this using batch class. What is best way to do this ?
Thanks in advance.
Thanks
Siddhartha
I have a requirement where i want to make the callout with 5000 records and my api support one record at a time. So i have to make the callout for 1 record at a time i.e 5000 callout. Can you please let me know can i do this using batch class. What is best way to do this ?
Thanks in advance.
Thanks
Siddhartha
Please follow the below code, this might help you.
https://www.biswajeetsamal.com/blog/batch-apex-with-webservice-callout/
Please mark it as Best Answer if it helps you.
Thanks & Regards
Suraj Tripathi
You can refre this video link for understanding
https://www.youtube.com/watch?v=dtsg6_v1zbU
Thanks!