Sample Soap Request for Method: findAttachments (String nationalId, List(WSLookup) attachMentLocations)

Request: Get donor attachments linked to the ASSESSMENT attachmentSection.

<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>someCTRuser</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:findAttachments> <arg0>CTD040922</arg0> <arg1> <id>19</id> <bizRef>ASSESSMENT</bizRef> </arg1> </ctr:findAttachments> </soapenv:Body> </soapenv:Envelope>

Response: the "findAttachments" results.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <ns2:findAttachmentsResponse xmlns:ns2="http://ctr3ws.cbs.com/"> <return> <attachmentID>70302</attachmentID> <nationalID>CTD040922</nationalID> <attachmentSection> <id>19</id> <bizRef>ASSESSMENT</bizRef> </attachmentSection> <description>Sample pdf file as attachment.</description> <sideBysideFlag>true</sideBysideFlag> <ownerID>198202</ownerID> <fileName>2021-06-29 16-00-48.pdf</fileName> <uploadedBy>bc-jp JPS</uploadedBy> <uploadedDate>2021-06-29T16:05:32-04:00</uploadedDate> </return> </ns2:findAttachmentsResponse> </soapenv:Body> </soapenv:Envelope>