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

Request: Make an IPOS Kidney offer, default organ type.

<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>60</arg1> <arg2/> <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> <ns2:makeOfferAgainstHSPMatchResponse xmlns:ns2="http://ctr3ws.cbs.com/"> <return> <id>104</id> <donorOrgan> <organ> <id>5</id> <bizRef>KIDNEY</bizRef> </organ> <organType> <id>7</id> <bizRef>RIGHT_KIDNEY</bizRef> </organType> <nationalDonorId>CTD000041</nationalDonorId> </donorOrgan> <nationalRecipientId>CTR000002</nationalRecipientId> <organRequestId>23</organRequestId> <offerState> <id>1</id> <bizRef>PROPOSED</bizRef> </offerState> <rank>1</rank> <offerDuration>00:00</offerDuration> </return> </ns2:makeOfferAgainstHSPMatchResponse> </soap:Body> </soap:Envelope>