getRequestForMetadata

open fun getRequestForMetadata(apiVersion: String, objectType: String): RestRequest

Request to describe the individual metadata for the specified object.

Return

RestRequest object that requests an object's metadata for the given API version.

Parameters

apiVersion

Salesforce API version.

objectType

Type of object for which the caller is requesting object metadata.

See also

<a href="http://www.salesforce.com/us/developer/docs/api_rest/Content/resources_sobject_basic_info.htm">http://www.salesforce.com/us/developer/docs/api_rest/Content/resources_sobject_basic_info.htm</a>