getRequestForUpdate
open fun getRequestForUpdate(apiVersion: String, objectType: String, objectId: String, fields: Map<String, Any>): RestRequest
Request to update a record.
Return
RestRequest object that requests a record update.
Parameters
apiVersion
Salesforce API version.
objectType
Type of the record.
objectId
Salesforce ID of the record.
fields
Map of the fields to be updated and their new values.
See also
<a href="http://www.salesforce.com/us/developer/docs/api_rest/Content/resources_sobject_retrieve.htm">http://www.salesforce.com/us/developer/docs/api_rest/Content/resources_sobject_retrieve.htm</a>
open fun getRequestForUpdate(apiVersion: String, objectType: String, objectId: String, fields: Map<String, Any>, ifUnmodifiedSinceDate: Date): RestRequest
Request to update a record.
Return
RestRequest object that requests a record update.
Parameters
apiVersion
Salesforce API version.
objectType
Type of the record.
objectId
Salesforce ID of the record.
fields
Map of the fields to be updated and their new values. Can be null.
ifUnmodifiedSinceDate
Fulfill the request only if the record has not been modified since the given date.
See also
<a href="http://www.salesforce.com/us/developer/docs/api_rest/Content/resources_sobject_retrieve.htm">http://www.salesforce.com/us/developer/docs/api_rest/Content/resources_sobject_retrieve.htm</a>