Sample Soap Request for Method: findOfferAttachments (Long offerId, List attachmentLocations)

Request: Get all donor and recipient shared offer attachments, filtering for multiple attachment sections [PATIENT_HEALTH, ORGAN_REQUESTS] using arg1 (attachmentLocations.bizRef) field.

<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>aUser</wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">aPassword</wsse:Password> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <ctr:findOfferAttachments> <arg0>31270</arg0> <arg1> <bizRef>PATIENT_HEALTH</bizRef> </arg1> <arg1> <bizRef>ORGAN_REQUESTS</bizRef> </arg1> </ctr:findOfferAttachments> </soapenv:Body> </soapenv:Envelope>

Response: the "findOfferAttachments" results.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:findOfferAttachmentsResponse xmlns:ns2="http://ctr3ws.cbs.com/"> <return> <attachmentID>72177</attachmentID> <nationalID>CTR043690</nationalID> <attachmentSection> <id>2</id> <bizRef>ORGAN_REQUESTS</bizRef> </attachmentSection> <description>Organ request attachment #1</description> <sideBysideFlag>true</sideBysideFlag> <ownerID>151070</ownerID> <fileName>report.xml</fileName> <uploadedBy>ws_qc WS_QC</uploadedBy> <uploadedDate>2023-02-27T17:02:54-05:00</uploadedDate> </return> <return> <attachmentID>72194</attachmentID> <nationalID>CTR043690</nationalID> <attachmentSection> <id>3</id> <bizRef>PATIENT_HEALTH</bizRef> </attachmentSection> <description>Recipient attachment #1 , sbys= T. Section Health</description> <sideBysideFlag>true</sideBysideFlag> <ownerID>201026</ownerID> <fileName>allclasses-frame.html</fileName> <uploadedBy>ws_qc WS_QC</uploadedBy> <uploadedDate>2023-02-28T21:39:11-05:00</uploadedDate> </return> </ns2:findOfferAttachmentsResponse> </soap:Body> </soap:Envelope>