rejectPackage

The method rejects an opened package, resulting in a rejected copy going back to the sender.

Request Parameters

Parameter Type Requirement Description
Username xsd:string mandatory - cannot be null or empty Login Credentials.
password xsd:string mandatory - cannot be null or empty Login Credentials.
pwordEncoded xsd:boolean optional - can be null (indicates false) Indicates if the password parameter is MD5 hash and base64 encoded.
MsgID xsd:string mandatory - cannot be null or empty The received package Id of the package to reject (ends in –R). The Id must be of a package that the authorising user is a recipient of.

Response

Response Type: String

XML Example

<?xml version="1.0" encoding="UTF-8"?>
<Package>
 <PackageDetail>
 <Id>3266519</Id>
 <RejectedId>3266520</RejectedId>
 <Message>A rejected version of this package has successfully been sent to john.smith@example.com
 </Message>
 </PackageDetail>
</Package>