Sample Soap Request for Method: makeOfferAgainstHSPMatch( String nationalId, long hspMatchResultID, WSLookup donorOrganType, Date offerDate, Boolean sendAlerts ) )

Request: make an IPOS Kidney offer, INVALID - offerDate predates IPOS Kidney allocation 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:makeOfferAgainstHSPMatch> <arg0>CTD000041</arg0> <arg1>90</arg1> <arg2/> <arg3>2020-11-30T00:00:00-05:00</arg3> <arg4>false</arg4> </ctr:makeOfferAgainstHSPMatch> </soapenv:Body> </soapenv:Envelope>

Response: IPOS Kidney offer.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <soap:Fault> <faultcode>soap:Server</faultcode> <faultstring>Method: makeOfferAgainstHSPMatch; SoapLogID: 3522; Offer State Change Date cannot be before Allocation date ErrorID: offerdwl.error.offerhistoryupdate.statechangeon.before.allocationDate; Msg: Offer State Change Date cannot be before Allocation date; MsgHtml: Offer State Change Date cannot be before Allocation date; </faultstring> </soap:Fault> </soap:Body> </soap:Envelope>