HTTP + SOAP12
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /soap12 HTTP/1.1
Host: mb-mobile-api.medibuddy.in
Content-Type: text/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>
<UserDetailsRequest 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>
</UserDetailsRequest>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
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>
<UserHomeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO.RequestResponse">
<AccessToken>String</AccessToken>
<AuthServerToken>String</AuthServerToken>
<CRMEmail>String</CRMEmail>
<CRMPhoneNo>String</CRMPhoneNo>
<CorpLogoURL>String</CorpLogoURL>
<DistinctInsPolicy>
<PolicyInsData>
<Category>String</Category>
<Id>0</Id>
<InsuranceId>0</InsuranceId>
<InsuranceName>String</InsuranceName>
<InsuranceShortName>String</InsuranceShortName>
<Name>String</Name>
<PolNumber>String</PolNumber>
<PolicyEndDate>String</PolicyEndDate>
<PolicyStartDate>String</PolicyStartDate>
</PolicyInsData>
</DistinctInsPolicy>
<EnableMediBuddyChat>false</EnableMediBuddyChat>
<EnrolmentURL>String</EnrolmentURL>
<ExpiryTime>0</ExpiryTime>
<IdentifiedUser xmlns:d2p1="http://schemas.datacontract.org/2004/07/MediBuddyMobileAPI.Core">
<d2p1:AgentId>String</d2p1:AgentId>
<d2p1:AltContact>String</d2p1:AltContact>
<d2p1:AltEmailId>String</d2p1:AltEmailId>
<d2p1:AuthUserId>0</d2p1:AuthUserId>
<d2p1:DBType>NOTAVAILABLE</d2p1:DBType>
<d2p1:DOB>String</d2p1:DOB>
<d2p1:EmailId>String</d2p1:EmailId>
<d2p1:EmpId>String</d2p1:EmpId>
<d2p1:Gender>String</d2p1:Gender>
<d2p1:InsuranceCompanyId>0</d2p1:InsuranceCompanyId>
<d2p1:InsuranceCompanyName>String</d2p1:InsuranceCompanyName>
<d2p1:InsuranceId>0</d2p1:InsuranceId>
<d2p1:IsBiometricEnabledForUser>false</d2p1:IsBiometricEnabledForUser>
<d2p1:IsCorpPaid>false</d2p1:IsCorpPaid>
<d2p1:IsGEOFencingRequired>false</d2p1:IsGEOFencingRequired>
<d2p1:IsSSOCorporate>false</d2p1:IsSSOCorporate>
<d2p1:IsTCSUser>false</d2p1:IsTCSUser>
<d2p1:IsTPA>false</d2p1:IsTPA>
<d2p1:LoginType>UNKNOWN</d2p1:LoginType>
<d2p1:MAId>0</d2p1:MAId>
<d2p1:Mobile>String</d2p1:Mobile>
<d2p1:Name>String</d2p1:Name>
<d2p1:PMCorporateId>0</d2p1:PMCorporateId>
<d2p1:PMGroupCorporateId>0</d2p1:PMGroupCorporateId>
<d2p1:PolEndDate>0001-01-01T00:00:00</d2p1:PolEndDate>
<d2p1:PolStartDate>0001-01-01T00:00:00</d2p1:PolStartDate>
<d2p1:PolTPAId>0</d2p1:PolTPAId>
<d2p1:PolicyId>0</d2p1:PolicyId>
<d2p1:RoleName>Operations</d2p1:RoleName>
<d2p1:UserName>String</d2p1:UserName>
</IdentifiedUser>
<InfinitiPromoImgURL>String</InfinitiPromoImgURL>
<IsAddBenefRequired>false</IsAddBenefRequired>
<IsAddBeneficiaryRequired>false</IsAddBeneficiaryRequired>
<IsClaimIntimationEnabled>false</IsClaimIntimationEnabled>
<IsCreateUserEnable>false</IsCreateUserEnable>
<IsDomiClaimAvailable>false</IsDomiClaimAvailable>
<IsEnrolmentEnable>false</IsEnrolmentEnable>
<IsInfinitiEnabled>false</IsInfinitiEnabled>
<IsSSOCorporate>false</IsSSOCorporate>
<IsScanClaimDocEnabled>false</IsScanClaimDocEnabled>
<IsWellnessEnabled>false</IsWellnessEnabled>
<MAHSContact>String</MAHSContact>
<MAHSEmail>String</MAHSEmail>
<PolicyError>String</PolicyError>
<RefreshToken>String</RefreshToken>
<SSORedirectionUrl>String</SSORedirectionUrl>
<SetUserName>false</SetUserName>
<ShowDomiBalanceOnHome>false</ShowDomiBalanceOnHome>
<ShowMAAppDetails>false</ShowMAAppDetails>
<SkipSSO>false</SkipSSO>
<TalktoUs>
<HelpLineWorkTimeDuration>
<EndTime>String</EndTime>
<StartTime>String</StartTime>
</HelpLineWorkTimeDuration>
<IsEnabledHelpLine>false</IsEnabledHelpLine>
</TalktoUs>
<UserAccessToken>String</UserAccessToken>
<UserToken>String</UserToken>
<VerloopEnabled>false</VerloopEnabled>
<VerloopParams>
<VerloopParameters>
<IsCustomField>false</IsCustomField>
<Key>String</Key>
<Scope>String</Scope>
<Value>String</Value>
</VerloopParameters>
</VerloopParams>
<VerloopRecipeId>String</VerloopRecipeId>
<WellnessURL>String</WellnessURL>
<isHospClaimSubmissionDisabled>false</isHospClaimSubmissionDisabled>
</UserHomeResponse>
</soap12:Body>
</soap12:Envelope>