Sample Soap Request for Method: makeHshOffer( String nationalId, long hshMatchResultID, Date offerDate, Boolean sendAlerts )

Request: make an IPOS Heart offer, - with VALID offer date.

<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:makeHshOffer> <arg0>CTD000007</arg0> <arg1>325</arg1> <arg2>2020-12-05T00:00:00-05:00</arg2> <arg3>false</arg3> </ctr:makeHshOffer> </soapenv:Body> </soapenv:Envelope>

Response: IPOS Heart offer error.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:makeHshOfferResponse xmlns:ns2="http://ctr3ws.cbs.com/"> <return> <id>128</id> <lastUpdated>2020-12-06T21:07:12.650-05:00</lastUpdated> <statusChangedDate>2020-12-05T00:00:00-05:00</statusChangedDate> <donorOrgan> <organ> <id>1</id> <bizRef>HEART</bizRef> </organ> <organType> <id>101</id> <bizRef>HEART</bizRef> </organType> <nationalDonorId>CTD000007</nationalDonorId> <consentedOrganId>49</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>CTR000004</nationalRecipientId> <organRequestId>28</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>30</id> <facilityName>BC Children's Hospital, Provincial Health Services Authority</facilityName> <facilityType> <id>1</id> <bizRef>TX_CENTRE</bizRef> </facilityType> <facilityCode>BC-VAN-BCCH</facilityCode> <corrCode>90105</corrCode> </transplantCentre> <offerState> <id>1</id> <bizRef>PROPOSED</bizRef> </offerState> <iposMatchResultID>325</iposMatchResultID> <offerDuration>45:07</offerDuration> </return> </ns2:makeHshOfferResponse> </soap:Body> </soap:Envelope>