Steps to accomplish Salesforce Bulk API task
Salesforce Bulk API
Bulk API is based on REST and is used for processing large sets of data. It allowes to Query, Insert, Update, Upsert or Delete large no. of records asynchronously by submitting batches. On the other hand hand SOAP API is used in real time applications that processes a small no. of records. Although SOAP API can also be used to process large sets of data but it becomes less practical to use SOAP API instead of Bulk API when processing large no. of data is desirable.
1. Login to Salesforce – Since Bulk API does not support login therefore Partner or Enterprise API can be used for logging in to Salesforce
2. Save Session Id for sending with all the below requests
3. Create a Job
4. Add a Batch to Job
5. Closing the Job
6. Check status of Batch
7. Retrieve Batch Result List
8. Retrieve Results