movePackage

This method is used to move a package 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.
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:This method will move any messages that are not already in the given folder and return the IDs of those messages that have been moved and where they have been moved to. The reason is that this method emulates the WebUI in that if a deleted message is deleted again it is moved out of the deleted folder into the inaccessible purged folder.
    • OK: 205003-R=DELETED “ - The message with the id “205003-R” was moved to Deleted folder.
    • “ERROR” - an error occurred. This will be followed by a description of the error (e.g. ERROR : Wrong format for trackingNumber)