Sample Soap Request for Method: updateRecipientMedications( String nationalId, WsRecipientMedications )

Request: add a recipient "WsRecipientMedications" record.

<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:updateRecipientMedications> <arg0>CTR000001</arg0> <arg1> <id>0</id> <infusedOn>2020-05-10T10:00:00-04:00</infusedOn> <ltMedicationRecipient> <id>10</id> </ltMedicationRecipient> </arg1> </ctr:updateRecipientMedications> </soapenv:Body> </soapenv:Envelope>

Response: the new "WsRecipientMedications" record.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:updateRecipientMedicationsResponse xmlns:ns2="http://ctr3ws.cbs.com/"> <return> <id>36</id> <patientId>1</patientId> <infusedOn>2020-05-10T10:00:00-04:00</infusedOn> <ltMedicationRecipient> <id>10</id> <bizRef>INOTROPIC_SUPPORT</bizRef> </ltMedicationRecipient> </return> </ns2:updateRecipientMedicationsResponse> </soap:Body> </soap:Envelope>

Request: Updated a "WsRecipientMedications" record.

<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:updateRecipientMedications> <arg0>CTR000001</arg0> <arg1> <id>36</id> <infusedOn>2020-05-16T19:00:00-04:00</infusedOn> <ltMedicationRecipient> <id>18</id> </ltMedicationRecipient> </arg1> </ctr:updateRecipientMedications> </soapenv:Body> </soapenv:Envelope>

Response: The updated "WsRecipientMedications" record.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:updateRecipientMedicationsResponse xmlns:ns2="http://ctr3ws.cbs.com/"> <return> <id>36</id> <patientId>1</patientId> <infusedOn>2020-05-16T19:00:00-04:00</infusedOn> <ltMedicationRecipient> <id>18</id> <bizRef>VASOCONSTRICTOR_SUPPORT</bizRef> </ltMedicationRecipient> </return> </ns2:updateRecipientMedicationsResponse> </soap:Body> </soap:Envelope>