Closed (fixed)
Project:
Salesforce Suite
Version:
5.0.x-dev
Component:
salesforce.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Aug 2021 at 15:58 UTC
Updated:
1 Jun 2022 at 20:39 UTC
Jump to comment: Most recent
Comments
Comment #3
aaronbaumanI added a comment in gitlab.
Also, need to update the test client to get existing tests working, and probably add some test coverage for this new feature.
Lastly, new features should be against 5.x please, and backported to 4.x
Comment #7
jeffamHere's an example of using RestClient::apiCall() for a Salesforce Bulk API 2.0 call: https://github.com/ilrWebServices/collegenet2sf/blob/1.x/src/CollegeNetT...
The main difference is that $params is a CSV string (rather than an array that gets JSON encoded) and the Content-Type header must be 'text/csv' rather than 'application/json'.
Comment #8
aaronbaumanThis is looking good.
Will you be able to address the failing tests?
Comment #9
jeffamThanks for taking a look. Tests should all be passing now.
Comment #10
jeffamComment #11
a-fro commentedComment #13
aaronbaumanMerged.
Thanks for the contrib!