This method is used to retrieve a package attachment.
| Parameter | Type | Requirement | Description |
|---|---|---|---|
| username | xsd:string | mandatory – cannot be null or empty | The username of the registered user who sent the package |
| password | xsd:string | mandatory – cannot be null or empty | The password of the registered user who sent the package |
| encodedPassword | xsd:boolean | optional – can be null (indicates false) | Indicates whether the password parameter is MD5 encoded |
| trackingNumber | xsd:string | mandatory – cannot be null or empty | The tracking ID of the package to retrieve which must be in the same form as that returned by the <Id> element in the Response togetFolderContent. |
| attachmentNumber | xsd:int | mandatory – cannot be null or empty | The number of the attachment to retrieve as returned in the <Name> element in the Response togetPackageContent . |
| compressAttachment | xsd:boolean | mandatory – cannot be null or empty | Indicates whether the returned attachment content will be compressed. |
Type: AttachmentEx complex type (see below).
| Parameter | Type | Requirement | Description |
|---|---|---|---|
| error | xsd:string | optional – can be null or empty | This field will be set if an error occurs, otherwise the remaining fields will be set. |