Sample Soap Request for Method: downloadOfferAttachment (String nationalID, Long attachmentId)

Request: Download a shared attachment file that is linked to an offer.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ctr="http://ctr3ws.cbs.com/"> <soapenv:Header> <wsse:Security soapenv:mustUnderstand="0" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <wsse:UsernameToken wsu:Id="UsernameToken-3" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsse:Username>QT-JP</wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">anypw</wsse:Password> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <ctr:downloadOfferAttachment> <!--offerId--> <arg0>29989</arg0> <!--attachmentId--> <arg1>70324</arg1>--> </ctr:downloadOfferAttachment> </soapenv:Body> </soapenv:Envelope>

Response: the "downloadOfferAttachment" results.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <ns2:downloadOfferAttachmentResponse xmlns:ns2="http://ctr3ws.cbs.com/"> <return> <attachmentData> <xop:Include href="cid:48971e43aa75034f000c534dad3debe89d65586a95d42849@apache.org" xmlns:xop="http://www.w3.org/2004/08/xop/include"/> </attachmentData> <filename>testPDF.pdf</filename> </return> </ns2:downloadOfferAttachmentResponse> </soapenv:Body> </soapenv:Envelope>