getRequestForCollectionUpdate
open fun getRequestForCollectionUpdate(apiVersion: String, allOrNone: Boolean, records: JSONArray): RestRequest
Request for updating multiple records with fewer round trips
Parameters
apiVersion
Salesforce API version.
allOrNone
Indicates whether to roll back the entire request when the update of any object fails (true) or to continue with the independent update of other objects in the request.
records
A list of sObjects.
See also
<a href="https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobjects_collections_update.htm">https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobjects_collections_update.htm</a>