LifeUSSD
Click here for a complete list of operations.
DisplayClientDetails
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /USSDLife/LifeUSSD.asmx HTTP/1.1 Host: 1lifejhb.telesure.co.za Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/DisplayClientDetails" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <DisplayClientDetails xmlns="http://tempuri.org/"> <p_DisplayObj xmlns="http://tempuri.org/PolicyDetails.xsd"> <ValidateDetails> <PolicyNumber>string</PolicyNumber> <IDNumber>string</IDNumber> <MobileNumber>string</MobileNumber> <Valid>string</Valid> <IMEI>string</IMEI> <PharmacyName>string</PharmacyName> <Pharmacist>string</Pharmacist> </ValidateDetails> </p_DisplayObj> </DisplayClientDetails> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <DisplayClientDetailsResponse xmlns="http://tempuri.org/"> <DisplayClientDetailsResult xmlns="http://tempuri.org/PolicyDetails.xsd"> <Valid>string</Valid> <PolicyNumber>string</PolicyNumber> <ClientName>string</ClientName> <PolicyStatus>string</PolicyStatus> <IDNumber>string</IDNumber> <CellphoneNumber>string</CellphoneNumber> <Workphone>string</Workphone> <Homephone>string</Homephone> <EmailAddress>string</EmailAddress> <CoverLife>string</CoverLife> <CoverDis>string</CoverDis> <CoverDread>string</CoverDread> <CurrentPremium>string</CurrentPremium> <DeductionDate>string</DeductionDate> <BankName>string</BankName> <BankBranchCode>string</BankBranchCode> <BankBranchDesc>string</BankBranchDesc> <BankAccType>string</BankAccType> <BankAccNum>string</BankAccNum> <SmokerStatus>string</SmokerStatus> <Address> <AddressType>string</AddressType> <AddressLine1>string</AddressLine1> <AddressLine2>string</AddressLine2> <AddressLine3>string</AddressLine3> <Suburb>string</Suburb> <SuburbSeqNumber>string</SuburbSeqNumber> <PostalCode>string</PostalCode> </Address> <Address> <AddressType>string</AddressType> <AddressLine1>string</AddressLine1> <AddressLine2>string</AddressLine2> <AddressLine3>string</AddressLine3> <Suburb>string</Suburb> <SuburbSeqNumber>string</SuburbSeqNumber> <PostalCode>string</PostalCode> </Address> <Beneficiaries> <BenTitle>string</BenTitle> <BenInitials>string</BenInitials> <BenFirstName>string</BenFirstName> <BenLastName>string</BenLastName> <BenDOB>string</BenDOB> <BenRelation>string</BenRelation> <BenRelationCode>string</BenRelationCode> <BenIDNum>string</BenIDNum> <BenPercentage>string</BenPercentage> <BenSeqNo>integer</BenSeqNo> <BenStatus>string</BenStatus> </Beneficiaries> <Beneficiaries> <BenTitle>string</BenTitle> <BenInitials>string</BenInitials> <BenFirstName>string</BenFirstName> <BenLastName>string</BenLastName> <BenDOB>string</BenDOB> <BenRelation>string</BenRelation> <BenRelationCode>string</BenRelationCode> <BenIDNum>string</BenIDNum> <BenPercentage>string</BenPercentage> <BenSeqNo>integer</BenSeqNo> <BenStatus>string</BenStatus> </Beneficiaries> <DisplayGABDetails> <OldSumAssured>integer</OldSumAssured> <NewSumAssured>integer</NewSumAssured> <OldPremium>decimal</OldPremium> <NewPremium>decimal</NewPremium> <GABTaken>string</GABTaken> </DisplayGABDetails> </DisplayClientDetailsResult> </DisplayClientDetailsResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /USSDLife/LifeUSSD.asmx HTTP/1.1 Host: 1lifejhb.telesure.co.za Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <DisplayClientDetails xmlns="http://tempuri.org/"> <p_DisplayObj xmlns="http://tempuri.org/PolicyDetails.xsd"> <ValidateDetails> <PolicyNumber>string</PolicyNumber> <IDNumber>string</IDNumber> <MobileNumber>string</MobileNumber> <Valid>string</Valid> <IMEI>string</IMEI> <PharmacyName>string</PharmacyName> <Pharmacist>string</Pharmacist> </ValidateDetails> </p_DisplayObj> </DisplayClientDetails> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <DisplayClientDetailsResponse xmlns="http://tempuri.org/"> <DisplayClientDetailsResult xmlns="http://tempuri.org/PolicyDetails.xsd"> <Valid>string</Valid> <PolicyNumber>string</PolicyNumber> <ClientName>string</ClientName> <PolicyStatus>string</PolicyStatus> <IDNumber>string</IDNumber> <CellphoneNumber>string</CellphoneNumber> <Workphone>string</Workphone> <Homephone>string</Homephone> <EmailAddress>string</EmailAddress> <CoverLife>string</CoverLife> <CoverDis>string</CoverDis> <CoverDread>string</CoverDread> <CurrentPremium>string</CurrentPremium> <DeductionDate>string</DeductionDate> <BankName>string</BankName> <BankBranchCode>string</BankBranchCode> <BankBranchDesc>string</BankBranchDesc> <BankAccType>string</BankAccType> <BankAccNum>string</BankAccNum> <SmokerStatus>string</SmokerStatus> <Address> <AddressType>string</AddressType> <AddressLine1>string</AddressLine1> <AddressLine2>string</AddressLine2> <AddressLine3>string</AddressLine3> <Suburb>string</Suburb> <SuburbSeqNumber>string</SuburbSeqNumber> <PostalCode>string</PostalCode> </Address> <Address> <AddressType>string</AddressType> <AddressLine1>string</AddressLine1> <AddressLine2>string</AddressLine2> <AddressLine3>string</AddressLine3> <Suburb>string</Suburb> <SuburbSeqNumber>string</SuburbSeqNumber> <PostalCode>string</PostalCode> </Address> <Beneficiaries> <BenTitle>string</BenTitle> <BenInitials>string</BenInitials> <BenFirstName>string</BenFirstName> <BenLastName>string</BenLastName> <BenDOB>string</BenDOB> <BenRelation>string</BenRelation> <BenRelationCode>string</BenRelationCode> <BenIDNum>string</BenIDNum> <BenPercentage>string</BenPercentage> <BenSeqNo>integer</BenSeqNo> <BenStatus>string</BenStatus> </Beneficiaries> <Beneficiaries> <BenTitle>string</BenTitle> <BenInitials>string</BenInitials> <BenFirstName>string</BenFirstName> <BenLastName>string</BenLastName> <BenDOB>string</BenDOB> <BenRelation>string</BenRelation> <BenRelationCode>string</BenRelationCode> <BenIDNum>string</BenIDNum> <BenPercentage>string</BenPercentage> <BenSeqNo>integer</BenSeqNo> <BenStatus>string</BenStatus> </Beneficiaries> <DisplayGABDetails> <OldSumAssured>integer</OldSumAssured> <NewSumAssured>integer</NewSumAssured> <OldPremium>decimal</OldPremium> <NewPremium>decimal</NewPremium> <GABTaken>string</GABTaken> </DisplayGABDetails> </DisplayClientDetailsResult> </DisplayClientDetailsResponse> </soap12:Body> </soap12:Envelope>