RetrieveResult
The retrieve() call returns an array of
RetrieveResult objects.
A RetrieveResult object has these fields.
| Name | Type | Description |
|---|---|---|
| done | boolean | Required. Indicates whether the retrieve() call is completed (true) or not (false). This field is available in API version 31.0 and later. |
| errorMessage | string | If an error occurs during the retrieve() call, this field contains a descriptive message about this error. This field is available in API version 31.0 and later. |
| errorStatusCode | StatusCode |
If an error occurs during the retrieve() call, this field
contains the status code for this error. This field is available in API version 31.0 and
later. For a description of each StatusCode value, see StatusCode in the SOAP API Developer Guide. |
| fileProperties | FileProperties[] | Contains information about the properties of each component in the .zip file, and the manifest file package.xml. One object per component is returned. |
| id | ID | ID of the component being retrieved. |
| messages | RetrieveMessage[] | Contains information about the success or failure of the retrieve() call. |
| status | RetrieveStatus (enumeration of type string) |
The status of the retrieve() call. Valid values
are:
|
| success | boolean | Indicates whether the retrieve() call was successful (true) or not (false). This field is available in API version 31.0 and later. |
| zipFile | base64Binary | The zip file returned by the retrieve request. Base 64-encoded binary data. Before making an API call, client applications must encode the binary attachment data as base64. Upon receiving a response, client applications must decode the base64 data to binary. This conversion is handled for you by a SOAP client. |
FileProperties
This component contains information about the properties of each component in the .zip file, and the manifest file package.xml. One object per component is returned. This component doesn’t contain information about any associated metadata files in the .zip file, only the component files and manifest file. FileProperties contains the following properties:
RetrieveMessage
RetrieveResult returns this object, which contains information about the success or failure of the retrieve() call. One object per problem is returned: