getRequestForCreate

open fun getRequestForCreate(apiVersion: String, objectType: String, fields: Map<String, Any>): RestRequest

Request to create a record.

Return

RestRequest object that requests creation of a record.

Parameters

apiVersion

Salesforce API version.

objectType

Type of record to be created.

fields

Map of the new record's fields and their values. Can be null.

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>