Sample Soap Request for Method: updateDonor( WSDonorInput updatedDonor )

Request: Update a DWL donor record - set LIVER consented state to NOT_CONSENTED.

<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:updateDonor> <arg0> <nationalDonorId>CTD000009</nationalDonorId> <firstName>aFirst-Name</firstName> <lastName>myLastName</lastName> <dateOfBirth>2000-02-01</dateOfBirth> <consentedOrgans> <consentedOrgan>LIVER</consentedOrgan> <consentedState> <id>2</id> <!-- <bizRef>NOT_CONSENTED</bizRef>--> </consentedState> <stateChangeDate>2020-08-07T00:00:00-04:00</stateChangeDate> </consentedOrgans> </arg0> </ctr:updateDonor> </soapenv:Body> </soapenv:Envelope>

Response: the updated DWL donor record.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:updateDonorResponse xmlns:ns2="http://ctr3ws.cbs.com/"> <return> <nationalDonorId>CTD000009</nationalDonorId> <localDonorId>xyz1234</localDonorId> <firstName>aFirst-Name</firstName> <lastName>myLastName</lastName> <dateOfBirth>2000-02-01</dateOfBirth> <gender> <id>2</id> <bizRef>FEMALE</bizRef> </gender> <registryEnterDate>2020-07-31T11:50:09-04:00</registryEnterDate> <caseStatus> <id>1</id> <bizRef>OPEN</bizRef> </caseStatus> <caseChangeDate>2020-07-31T11:50:09-04:00</caseChangeDate> <donorType> <id>1</id> <bizRef>DECEASED</bizRef> </donorType> <breastFed> <id>2</id> <bizRef>NO</bizRef> </breastFed> <facilities> <id>17</id> <facilityName>British Columbia Transplant</facilityName> <facilityType> <id>3</id> <bizRef>OPO</bizRef> </facilityType> <facilityCode>BC-BCT</facilityCode> <corrCode>90000</corrCode> </facilities> <facilities> <id>3</id> <facilityName>Vancouver General Hospital - Immunology Lab</facilityName> <facilityType> <id>2</id> <bizRef>HLA_LAB</bizRef> </facilityType> <facilityCode>BC-VAN-HLA</facilityCode> <corrCode>90101</corrCode> </facilities> <facilities> <id>2077</id> <facilityName>British Columbia Children's Hospital</facilityName> <facilityType> <id>6</id> <bizRef>DONOR_RECOVERY_HOSPITAL</bizRef> </facilityType> </facilities> <consentedOrgans> <consentedOrganId>65</consentedOrganId> <nationalDonorId>CTD000009</nationalDonorId> <organ> <id>1</id> <bizRef>HEART</bizRef> </organ> <organType> <id>101</id> <bizRef>HEART</bizRef> </organType> <consentedState> <id>1</id> <bizRef>CONSENTED</bizRef> </consentedState> </consentedOrgans> <consentedOrgans> <consentedOrganId>66</consentedOrganId> <nationalDonorId>CTD000009</nationalDonorId> <organ> <id>2</id> <bizRef>LUNG</bizRef> </organ> <organType> <id>3</id> <bizRef>DOUBLE_LUNG</bizRef> </organType> <consentedState> <id>1</id> <bizRef>CONSENTED</bizRef> </consentedState> </consentedOrgans> <consentedOrgans> <consentedOrganId>67</consentedOrganId> <nationalDonorId>CTD000009</nationalDonorId> <organ> <id>2</id> <bizRef>LUNG</bizRef> </organ> <organType> <id>1</id> <bizRef>RIGHT_LUNG</bizRef> </organType> <consentedState> <id>1</id> <bizRef>CONSENTED</bizRef> </consentedState> </consentedOrgans> <consentedOrgans> <consentedOrganId>68</consentedOrganId> <nationalDonorId>CTD000009</nationalDonorId> <organ> <id>2</id> <bizRef>LUNG</bizRef> </organ> <organType> <id>2</id> <bizRef>LEFT_LUNG</bizRef> </organType> <consentedState> <id>1</id> <bizRef>CONSENTED</bizRef> </consentedState> </consentedOrgans> <consentedOrgans> <consentedOrganId>69</consentedOrganId> <nationalDonorId>CTD000009</nationalDonorId> <organ> <id>3</id> <bizRef>LIVER</bizRef> </organ> <organType> <id>6</id> <bizRef>WHOLE_LIVER</bizRef> </organType> <consentedState> <id>2</id> <bizRef>NOT_CONSENTED</bizRef> </consentedState> <recoveredState> <id>4</id> <bizRef>NOT_RECOVERED</bizRef> </recoveredState> <shippedState> <id>9</id> <bizRef>NOT_SHIPPED</bizRef> </shippedState> <notShippedStateReason> <id>3</id> <bizRef>NOT_CONSENTED_FOR_TRANSPLANT</bizRef> </notShippedStateReason> <notRecoveredStateReason> <id>5</id> <bizRef>NOT_CONSENTED_RECOVERY</bizRef> </notRecoveredStateReason> <transplantedState> <id>6</id> <bizRef>NOT_TRANSPLANTED</bizRef> </transplantedState> <notTransplantedStateReason> <id>22</id> <bizRef>NOT_CONSENTED_TRANSPLANT</bizRef> </notTransplantedStateReason> </consentedOrgans> <consentedOrgans> <consentedOrganId>70</consentedOrganId> <nationalDonorId>CTD000009</nationalDonorId> <organ> <id>3</id> <bizRef>LIVER</bizRef> </organ> <organType> <id>4</id> <bizRef>RIGHT_LOBE</bizRef> </organType> <consentedState> <id>2</id> <bizRef>NOT_CONSENTED</bizRef> </consentedState> <recoveredState> <id>4</id> <bizRef>NOT_RECOVERED</bizRef> </recoveredState> <shippedState> <id>9</id> <bizRef>NOT_SHIPPED</bizRef> </shippedState> <notShippedStateReason> <id>3</id> <bizRef>NOT_CONSENTED_FOR_TRANSPLANT</bizRef> </notShippedStateReason> <notRecoveredStateReason> <id>5</id> <bizRef>NOT_CONSENTED_RECOVERY</bizRef> </notRecoveredStateReason> <transplantedState> <id>6</id> <bizRef>NOT_TRANSPLANTED</bizRef> </transplantedState> <notTransplantedStateReason> <id>22</id> <bizRef>NOT_CONSENTED_TRANSPLANT</bizRef> </notTransplantedStateReason> </consentedOrgans> <consentedOrgans> <consentedOrganId>71</consentedOrganId> <nationalDonorId>CTD000009</nationalDonorId> <organ> <id>3</id> <bizRef>LIVER</bizRef> </organ> <organType> <id>5</id> <bizRef>LEFT_LOBE</bizRef> </organType> <consentedState> <id>2</id> <bizRef>NOT_CONSENTED</bizRef> </consentedState> <recoveredState> <id>4</id> <bizRef>NOT_RECOVERED</bizRef> </recoveredState> <shippedState> <id>9</id> <bizRef>NOT_SHIPPED</bizRef> </shippedState> <notShippedStateReason> <id>3</id> <bizRef>NOT_CONSENTED_FOR_TRANSPLANT</bizRef> </notShippedStateReason> <notRecoveredStateReason> <id>5</id> <bizRef>NOT_CONSENTED_RECOVERY</bizRef> </notRecoveredStateReason> <transplantedState> <id>6</id> <bizRef>NOT_TRANSPLANTED</bizRef> </transplantedState> <notTransplantedStateReason> <id>22</id> <bizRef>NOT_CONSENTED_TRANSPLANT</bizRef> </notTransplantedStateReason> </consentedOrgans> <consentedOrgans> <consentedOrganId>72</consentedOrganId> <nationalDonorId>CTD000009</nationalDonorId> <organ> <id>6</id> <bizRef>SMALL_BOWEL</bizRef> </organ> <organType> <id>106</id> <bizRef>SMALL_BOWEL</bizRef> </organType> <consentedState> <id>1</id> <bizRef>CONSENTED</bizRef> </consentedState> </consentedOrgans> <consentedOrgans> <consentedOrganId>73</consentedOrganId> <nationalDonorId>CTD000009</nationalDonorId> <organ> <id>7</id> <bizRef>STOMACH</bizRef> </organ> <organType> <id>107</id> <bizRef>STOMACH</bizRef> </organType> <consentedState> <id>1</id> <bizRef>CONSENTED</bizRef> </consentedState> </consentedOrgans> <consentedOrgans> <consentedOrganId>74</consentedOrganId> <nationalDonorId>CTD000009</nationalDonorId> <organ> <id>4</id> <bizRef>PANCREAS</bizRef> </organ> <organType> <id>9</id> <bizRef>WHOLE_PANCREAS</bizRef> </organType> <consentedState> <id>1</id> <bizRef>CONSENTED</bizRef> </consentedState> </consentedOrgans> <consentedOrgans> <consentedOrganId>75</consentedOrganId> <nationalDonorId>CTD000009</nationalDonorId> <organ> <id>4</id> <bizRef>PANCREAS</bizRef> </organ> <organType> <id>11</id> <bizRef>SEGMENT1</bizRef> </organType> <consentedState> <id>1</id> <bizRef>CONSENTED</bizRef> </consentedState> </consentedOrgans> <consentedOrgans> <consentedOrganId>76</consentedOrganId> <nationalDonorId>CTD000009</nationalDonorId> <organ> <id>4</id> <bizRef>PANCREAS</bizRef> </organ> <organType> <id>12</id> <bizRef>SEGMENT2</bizRef> </organType> <consentedState> <id>1</id> <bizRef>CONSENTED</bizRef> </consentedState> </consentedOrgans> <consentedOrgans> <consentedOrganId>77</consentedOrganId> <nationalDonorId>CTD000009</nationalDonorId> <organ> <id>4</id> <bizRef>PANCREAS</bizRef> </organ> <organType> <id>10</id> <bizRef>ISLETS</bizRef> </organType> <consentedState> <id>1</id> <bizRef>CONSENTED</bizRef> </consentedState> </consentedOrgans> <consentedOrgans> <consentedOrganId>78</consentedOrganId> <nationalDonorId>CTD000009</nationalDonorId> <organ> <id>5</id> <bizRef>KIDNEY</bizRef> </organ> <organType> <id>14</id> <bizRef>DOUBLE_KIDNEY</bizRef> </organType> <consentedState> <id>1</id> <bizRef>CONSENTED</bizRef> </consentedState> </consentedOrgans> <consentedOrgans> <consentedOrganId>79</consentedOrganId> <nationalDonorId>CTD000009</nationalDonorId> <organ> <id>5</id> <bizRef>KIDNEY</bizRef> </organ> <organType> <id>7</id> <bizRef>RIGHT_KIDNEY</bizRef> </organType> <consentedState> <id>1</id> <bizRef>CONSENTED</bizRef> </consentedState> </consentedOrgans> <consentedOrgans> <consentedOrganId>80</consentedOrganId> <nationalDonorId>CTD000009</nationalDonorId> <organ> <id>5</id> <bizRef>KIDNEY</bizRef> </organ> <organType> <id>8</id> <bizRef>LEFT_KIDNEY</bizRef> </organType> <consentedState> <id>1</id> <bizRef>CONSENTED</bizRef> </consentedState> </consentedOrgans> <duplicate>false</duplicate> <donorDeath> <deathType> <id>1</id> <bizRef>NDD</bizRef> </deathType> <countryOfDeath> <id>1</id> <bizRef>CAN</bizRef> </countryOfDeath> <province_StateOfDeath> <id>11</id> <bizRef>QC</bizRef> </province_StateOfDeath> <id>5</id> </donorDeath> </return> </ns2:updateDonorResponse> </soap:Body> </soap:Envelope>