Sample Soap Request for Method: findDonorOffers( String nationalId )

Request: get a donor's filtered ("PROPOSED" offer state) list of "WSOfferCore" records.

<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:findDonorOffers> <arg0>CTD000041</arg0> <arg1> <!--<bizRef>WITHDRAWN</bizRef>--> <bizRef>PROPOSED</bizRef> </arg1> </ctr:findDonorOffers> </soapenv:Body> </soapenv:Envelope>

Response: the donors's list of "WSOfferCore" records.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:findDonorOffersResponse xmlns:ns2="http://ctr3ws.cbs.com/"> <return> <id>103</id> <lastUpdated>2020-11-30T16:50:18.715-05:00</lastUpdated> <statusChangedDate>2020-11-30T16:50:18-05:00</statusChangedDate> <donorOrgan> <organ> <id>5</id> <bizRef>KIDNEY</bizRef> </organ> <organType> <id>8</id> <bizRef>LEFT_KIDNEY</bizRef> </organType> <nationalDonorId>CTD000041</nationalDonorId> <consentedOrganId>259</consentedOrganId> </donorOrgan> <opoOffering> <id>17</id> <facilityName>British Columbia Transplant</facilityName> <facilityType> <id>3</id> <bizRef>OPO</bizRef> </facilityType> <facilityCode>BC-BCT</facilityCode> <corrCode>90000</corrCode> </opoOffering> <nationalRecipientId>CTR000002</nationalRecipientId> <organRequestId>23</organRequestId> <opoReceiving> <id>17</id> <facilityName>British Columbia Transplant</facilityName> <facilityType> <id>3</id> <bizRef>OPO</bizRef> </facilityType> <facilityCode>BC-BCT</facilityCode> <corrCode>90000</corrCode> </opoReceiving> <transplantCentre> <id>29</id> <facilityName>St. Paul's Hospital, Providence Health Care</facilityName> <facilityType> <id>1</id> <bizRef>TX_CENTRE</bizRef> </facilityType> <facilityCode>BC-VAN-SPH</facilityCode> <corrCode>90102</corrCode> </transplantCentre> <offerState> <id>1</id> <bizRef>PROPOSED</bizRef> </offerState> <iposMatchResultID>60</iposMatchResultID> <rank>1</rank> <offerDuration>15:13</offerDuration> </return> </ns2:findDonorOffersResponse> </soap:Body> </soap:Envelope>