Closed godd9170 closed 7 years ago
By allowing the post_bulk_batch function to take a content-type parameter you can now send in json batches.
post_bulk_batch
NOTE: JSON is only supported for API "36.0" so make sure you construct SalesforceBulk accordingly.
e.g.
bulk = SalesforceBulk(sessionId=sessionId, host=instance, API_version="36.0")
fixes #29
Hi @godd9170 I've got a PR with an API incompatible change where the main focus was on supporting JSON. Please see #40.
Awesome stuff @lambacck, feel free to close this hasty PR.
By allowing the
post_bulk_batch
function to take a content-type parameter you can now send in json batches.NOTE: JSON is only supported for API "36.0" so make sure you construct SalesforceBulk accordingly.
e.g.
fixes #29