Newer Version Available
RetrieveRequest
The RetrieveRequest parameter specified on a retrieve() call encapsulates options for determining
which packages or files are retrieved.
The RetrieveRequest object consists of the following properties:
| Name | Type | Description |
|---|---|---|
| apiVersion | double | Required. The API version for the retrieve request. The API version determines the fields retrieved for each metadata type. For example, an icon field was added to the CustomTab for API version 14.0. If you retrieve components for version 13.0 or earlier, the components will not include the icon field. |
| packageNames | string[] | A list of package names to be retrieved. If you are retrieving only unpackaged components, do not specify a name here. You can retrieve packaged and unpackaged components in the same retrieve. |
| singlePackage | boolean | Specifies whether only a single package is being retrieved (true) or not (false). If false, then more than one package is being retrieved. |
| specificFiles | string[] | A list of file names to be retrieved. If a value is specified for this property, packageNames must be set to null and singlePackage must be set to true. |
| unpackaged | Package | A list of components to retrieve that are not in a package. |