getPackageContent

This method is used to retrieve the contents of a package.

Request Parameters

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.

Response

  • Type: xsd:string
    Possible return values: An xml string – will take the form of
    <PackageContent>
     <Sender></Sender>
     <Recipients></Recipients>
     <Subject></Subject>
     <PaperRequested></PaperRequested>
     <PaperCompleted></PaperCompleted>
     <Note> </Note>
     <Body></Body>
     <NumberOfAttachments></NumberOfAttachments>
     <Attachments>
     <Attachment>
     <Name></Name>
     <Number></Number>
     </Attachment>
     </Attachments>
    </PackageContent>
    
  • “ERROR” - an error occurred. This will be followed by a description of the error (e.g. ERROR : Wrong format for trackingNumber)