HTTP + SOAP11
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /soap11 HTTP/1.1
Host: mb-mobile-api.medibuddy.in
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: BeneficiaryFamilyRequest
<?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>
<BeneficiaryFamilyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO.RequestResponse">
<IPAddress xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobileAPI.Core.DTO">String</IPAddress>
<MBToken xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobileAPI.Core.DTO">String</MBToken>
<MobileDeviceModel xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobileAPI.Core.DTO">String</MobileDeviceModel>
<PlatformVer xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobileAPI.Core.DTO">String</PlatformVer>
<UserAgent xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobileAPI.Core.DTO">String</UserAgent>
<UserPlatform xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobileAPI.Core.DTO">String</UserPlatform>
<BenefName>String</BenefName>
<DBType>NOTAVAILABLE</DBType>
<EmployeeId>String</EmployeeId>
<MAID>0</MAID>
<PolicyCorpId>0</PolicyCorpId>
</BeneficiaryFamilyRequest>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
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>
<BeneficiaryHeaderResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO.RequestResponse">
<Benefs xmlns:d2p1="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO">
<d2p1:BeneficiaryBasicDetails>
<d2p1:Age>0</d2p1:Age>
<d2p1:BenefAddDate>String</d2p1:BenefAddDate>
<d2p1:BenefAmtAuthorised>0</d2p1:BenefAmtAuthorised>
<d2p1:BenefAmtSpent>0</d2p1:BenefAmtSpent>
<d2p1:BenefBalSI>0</d2p1:BenefBalSI>
<d2p1:BenefDOB>String</d2p1:BenefDOB>
<d2p1:BenefPolIncDate>String</d2p1:BenefPolIncDate>
<d2p1:BenefRemarks>String</d2p1:BenefRemarks>
<d2p1:BenefTotalSumInsured>0</d2p1:BenefTotalSumInsured>
<d2p1:Contact>String</d2p1:Contact>
<d2p1:Contacts xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>String</d4p1:string>
</d2p1:Contacts>
<d2p1:DateOfJoining>String</d2p1:DateOfJoining>
<d2p1:DomiBalance>0</d2p1:DomiBalance>
<d2p1:DomiFloater>false</d2p1:DomiFloater>
<d2p1:DomiLimit>0</d2p1:DomiLimit>
<d2p1:EffectiveDate>String</d2p1:EffectiveDate>
<d2p1:Email>String</d2p1:Email>
<d2p1:EmailIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>String</d4p1:string>
</d2p1:EmailIds>
<d2p1:IsActive>false</d2p1:IsActive>
<d2p1:MAID>0</d2p1:MAID>
<d2p1:Name>String</d2p1:Name>
<d2p1:Policy>
<d2p1:CorporateId>0</d2p1:CorporateId>
<d2p1:CorporateName>String</d2p1:CorporateName>
<d2p1:GroupCorporateId>0</d2p1:GroupCorporateId>
<d2p1:InsuranceCompanyId>0</d2p1:InsuranceCompanyId>
<d2p1:InsuranceCompanyName>String</d2p1:InsuranceCompanyName>
<d2p1:InsuranceShortName>String</d2p1:InsuranceShortName>
<d2p1:PolPaymentDirect>false</d2p1:PolPaymentDirect>
<d2p1:PolTPAId>0</d2p1:PolTPAId>
<d2p1:PolicyEndDate>0001-01-01T00:00:00</d2p1:PolicyEndDate>
<d2p1:PolicyHolderName>String</d2p1:PolicyHolderName>
<d2p1:PolicyNumber>String</d2p1:PolicyNumber>
<d2p1:PolicyStartDate>0001-01-01T00:00:00</d2p1:PolicyStartDate>
<d2p1:RoomCategory>String</d2p1:RoomCategory>
</d2p1:Policy>
<d2p1:PolicyId>0</d2p1:PolicyId>
<d2p1:PriBenefEmail>String</d2p1:PriBenefEmail>
<d2p1:PriBenefEmpCode>String</d2p1:PriBenefEmpCode>
<d2p1:PriBenefGrade>String</d2p1:PriBenefGrade>
<d2p1:PriBenefId>0</d2p1:PriBenefId>
<d2p1:PriBenefMobileNumber>String</d2p1:PriBenefMobileNumber>
<d2p1:PriBenefName>String</d2p1:PriBenefName>
<d2p1:PriBenefVIP>false</d2p1:PriBenefVIP>
<d2p1:Relation>String</d2p1:Relation>
<d2p1:RelationId>0</d2p1:RelationId>
<d2p1:Sex>String</d2p1:Sex>
<d2p1:SourceDBType>NOTAVAILABLE</d2p1:SourceDBType>
<d2p1:UnMaskedContact>String</d2p1:UnMaskedContact>
<d2p1:UnMaskedEmail>String</d2p1:UnMaskedEmail>
<d2p1:UserId>0</d2p1:UserId>
<d2p1:dob>String</d2p1:dob>
<d2p1:erId>0</d2p1:erId>
<d2p1:gender>String</d2p1:gender>
<d2p1:grade>String</d2p1:grade>
<d2p1:isPaymentProtected>false</d2p1:isPaymentProtected>
<d2p1:isSIProtected>false</d2p1:isSIProtected>
<d2p1:relationName>String</d2p1:relationName>
</d2p1:BeneficiaryBasicDetails>
</Benefs>
</BeneficiaryHeaderResponse>
</soap:Body>
</soap:Envelope>