Newer Version Available
PackageVersionHeader
API Calls
Specifies the package version for each installed managed package.
A managed package can have several versions with different content and behavior. This header allows you to specify the version used for each package referenced by your API client.
If a package version is not specified, the API client uses the version of the package specified in Setup (enter API in the Quick Find box, then select API).
compileAndTest(), compileClasses(), compileTriggers(), executeanonymous()
Fields
| Element Name | Type | Description |
|---|---|---|
| packageVersions | PackageVersion[] | A list of package versions for installed managed packages referenced by your API client. |
PackageVersion
Specifies a version of an installed managed package. A package version is majorNumber.minorNumber, for example 2.1.
Fields
| Field | Type | Description |
|---|---|---|
| majorNumber | int | The major version number of a package version. |
| minorNumber | int | The minor version number of a package version. |
| namespace | string | The unique namespace of the managed package. |