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

Request: make an IPOS Heart offer, INVALID - Recipient has active offer from same donor.

<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> <soap:Fault> <faultcode>soap:Server</faultcode> <faultstring>Method: makeHshOffer; SoapLogID: 3510; Recipient CTR000004 already has an active offer for Heart from Donor CTD000007 for the same organ (type) ErrorID: offerdwl.error.makeoffer.validation.duplicate; Msg: Recipient CTR000004 already has an active offer for Heart from Donor CTD000007 for the same organ (type); MsgHtml: Recipient CTR000004 already has an active offer for Heart from Donor CTD000007 for the same organ (type); </faultstring> </soap:Fault> </soap:Body> </soap:Envelope>