Sample Soap Request for Method: updateSocialDetails( String nationalId )

Request: Update a recipient's social details 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:updateSocialDetails> <arg0>CTR000002</arg0> <arg1> <ltAcademicActivityLvl> <id>1</id> </ltAcademicActivityLvl> <ltAcademicProgress> <id>2</id> </ltAcademicProgress> <ltCognitiveDevelopment> <id>2</id> </ltCognitiveDevelopment> <ltCountryOfResidence> <id>1</id> <bizRef>CAN</bizRef> </ltCountryOfResidence> <ltCurrentOrPastSmoker> <id>2</id> </ltCurrentOrPastSmoker> <ltEducationLevel> <id>2</id> </ltEducationLevel> <ltEmploymentType> <id>2</id> </ltEmploymentType> <ltImmigration> <id>1</id> </ltImmigration> <ltNotWorkingReason> <id>2</id> </ltNotWorkingReason> <ltPhysicalCapacity> <id>2</id> </ltPhysicalCapacity> <ltSmokeAbstinence> <id>2</id> </ltSmokeAbstinence> <packYearHistoryOfSmoking>2</packYearHistoryOfSmoking> </arg1> </ctr:updateSocialDetails> </soapenv:Body> </soapenv:Envelope>

Response: The recipient's social details record.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:updateSocialDetailsResponse xmlns:ns2="http://ctr3ws.cbs.com/"> <return> <patientId>2</patientId> <ltAcademicActivityLvl> <id>1</id> <bizRef>FULL_ACADEMIC_LOAD</bizRef> </ltAcademicActivityLvl> <ltAcademicProgress> <id>2</id> <bizRef>DELAYED_GRADE_LEVEL</bizRef> </ltAcademicProgress> <ltCognitiveDevelopment> <id>2</id> <bizRef>PROBABLE_COGNITIVE_DELAY_IMPAIRMENT</bizRef> </ltCognitiveDevelopment> <ltCountryOfResidence> <id>1</id> <bizRef>CAN</bizRef> </ltCountryOfResidence> <ltCurrentOrPastSmoker> <id>2</id> <bizRef>PAST</bizRef> </ltCurrentOrPastSmoker> <ltEducationLevel> <id>2</id> <bizRef>GRADE_1_6</bizRef> </ltEducationLevel> <ltEmploymentType> <id>2</id> <bizRef>PART_TIME</bizRef> </ltEmploymentType> <ltImmigration> <id>1</id> <bizRef>CANADIAN_CITIZEN</bizRef> </ltImmigration> <ltPhysicalCapacity> <id>2</id> <bizRef>LIMITED_MOBILITY</bizRef> </ltPhysicalCapacity> <ltSmokeAbstinence> <id>2</id> <bizRef>10-19</bizRef> </ltSmokeAbstinence> <packYearHistoryOfSmoking>2</packYearHistoryOfSmoking> </return> </ns2:updateSocialDetailsResponse> </soap:Body> </soap:Envelope>