movePackages

This method is used to move packages to the “Deleted” or “Archived” folders.

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. Multiple ids can be separated by “;” as in

205003-R; 205005-R; 205013-R

folderType xsd:int mandatory – cannot be null or empty An integer representing the required folder type. The possible values are:
  • 2 – archived items
  • 3 – deleted items

Response

  • Type: xsd:string
  • Possible return values:
    • OK: 205003-R=DELETED;205006-R=DELETED - The messages were moved to the deleted folder
    • OK: 205003-R=ARCHIVED;205006-R=ARCHIVED - The messages were moved to the archived folder
    • OK: 205003-R=ARCHIVED;205006-R=ERROR:Invalid Id - The messages were moved to the archived folder, but some were invalid