heroku / salesforce-bulk

Python interface to the Salesforce.com Bulk API
MIT License
206 stars 157 forks source link

retrieving ids/status of bulk insert #99

Open actsasgeek opened 3 years ago

actsasgeek commented 3 years ago

The Salesforce documentation suggests that we can access the result of our bulk inserts (ids or if they failed, the reason for the failure) but I don't see that we're able to access that information through the library.

https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_batches_failed_records.htm

Not sure if this is undocumented or simply a feature request.

actsasgeek commented 3 years ago

I dug around the source code a bit more and found get_batch_status so it's there, just not in the documentation.