sendReply

This method allows a calling process to send a response back to a message back into SDX via web services. The caller has a more limited number of options than when calling one of the sendPackage calls but the benefit is that the response is tied into the original package and includes all the original subject data or meta data as appropriate.

Request Parameters

Parameter Type Requirement Description
username xsd:string mandatory – cannot be null or empty The username of the registered user who is sending the package
password xsd:string mandatory – cannot be null or empty The password of the registered user who is sending the package
encodedPassword xsd:boolean optional – can be null (indicates false) Indicates whether the password parameter is MD5 encoded
subject xsd:string optional – can be null or empty The subject of the package.
body xsd:string optional – can be null or empty The body of the package
attachments Array of the Attachments complex type (see below) optional – may be null or an empty array if no attachments are to be sent The array of attachments
id xsd:string mandatory – cannot be null or empty This is the tracking id of the original message that is being replied too. Note that attempts to reply to messages that were not originally sent to the account defined in the <username> parameter will be forcefully rejected.

Complex Type: Attachment

Parameter Type Requirement Description
filename xsd:string mandatory – cannot be null or empty The attachment filename (e.g. mortgage1.doc)
contentType xsd:string optional – can be null or empty The MIME content type of the attachment (e.g. application/msword)
content array of xsd:base64Binary mandatory – cannot be null or empty This is the content of the attachment
compresses xsd:boolean optional – can be null or empty (indicates false) Indicates whether the content is gzip compressed

Response

Type: xsd:string

A successful response will at a minimum, return <SENT_ID>11056</SENT_ID>

Other fields may also be present depending on the skin configuration. An error will return “ERROR” - an error occurred. This will be followed by a description of the error (e.g. “ERROR : No recipients provided”)