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
Nagarajan CNagarajan C 

Is it possible to use BULK API in Apex class ?

Is it possible to use BULK  API in Apex class ?

If yes can you please share the sample code. i want to delete the records for my custom object from apex code using bulk api.

Can you please help on this

Thanks
C. Nagarajan
SwethaSwetha (Salesforce Developers) 
HI Nagarajan,
Are you planning to use Bulk API V2? 
The example listed in https://newstechnologystuff.com/2020/08/31/bulk-api-2-0-using-apex-and-flow/ should help you get started

https://www.veonconsulting.com/salesforce-bulk-api/

If this information helps, please mark the answer as best.Thank you
Nagarajan CNagarajan C
Thanks Swetha

how to use this BULK API v2 in my apex method ?

I want to sample apex code to implement in my apex class