Closed k4jiang closed 6 years ago
Do not merge this PR yet. The API for fetching the Batch Result IDs from Salesforce is not working at the moment. It is returning two very different response bodies. Example of the two different formats:
1) [123312321,13214214]
2) <result-list xmlns=\"http://www.force.com/2009/06/asyncapi/dataload\"><result>123312321,13214214</result><result>123312321,13214214</result></result-list>
As mentioned earlier, please prefix the title it with [NO MERGE]
The issue is fixed. Feel free to merge whenever ready.
Reference: https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_using_bulk_query.htm
Expose functionality to perform Bulk Queries and fetch for batch results when dealing with larger datasets. This includes two new methods: 1) Get list of Batch Result IDs ex)
GET baseURI/job/750x00000000014/batch/751x00000000030/result
2) Get Bulk Query Results ex)GET baseURI/job/750x00000000014/batch/751x00000000030/result/752x000000000