getRequestForRetrieve
open fun getRequestForRetrieve(apiVersion: String, objectType: String, objectId: String, fieldList: List<String>): RestRequest
Request to retrieve a record by object ID.
Return
RestRequest object that requests a record.
Parameters
apiVersion
Salesforce API version.
objectType
Type of the requested record.
objectId
Salesforce ID of the requested record.
fieldList
List of requested field names.
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>