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>
<NetworkHospitalDetailListRequest 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>
<CorporateRating>0</CorporateRating>
<Distance>0</Distance>
<HospSpecialityList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</HospSpecialityList>
<HospitalName>String</HospitalName>
<InsuranceCompanyName>String</InsuranceCompanyName>
<Latitude>0</Latitude>
<Longitude>0</Longitude>
<MaRating>0</MaRating>
<PMCorporateId>0</PMCorporateId>
<PolicyId>0</PolicyId>
</NetworkHospitalDetailListRequest>
</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>
<NetworkHospitalDetailListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO.RequestResponse">
<HospitalRatings xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfintNullableOffloatU6ho3Bhd>
<d2p1:Key>0</d2p1:Key>
<d2p1:Value>0</d2p1:Value>
</d2p1:KeyValueOfintNullableOffloatU6ho3Bhd>
</HospitalRatings>
<NetworkHospital xmlns:d2p1="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO">
<d2p1:Hospitals>
<d2p1:HospitalDetails>
<d2p1:Address>String</d2p1:Address>
<d2p1:AvgRating>0</d2p1:AvgRating>
<d2p1:Blacklisted>false</d2p1:Blacklisted>
<d2p1:City>String</d2p1:City>
<d2p1:Email>String</d2p1:Email>
<d2p1:EntityId>0</d2p1:EntityId>
<d2p1:HospSpecialities xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:string>String</d5p1:string>
</d2p1:HospSpecialities>
<d2p1:Id>0</d2p1:Id>
<d2p1:IsPPN>false</d2p1:IsPPN>
<d2p1:Latitude>String</d2p1:Latitude>
<d2p1:Longitude>String</d2p1:Longitude>
<d2p1:Name>String</d2p1:Name>
<d2p1:Phone>String</d2p1:Phone>
<d2p1:PinCode>String</d2p1:PinCode>
<d2p1:State>String</d2p1:State>
</d2p1:HospitalDetails>
</d2p1:Hospitals>
<d2p1:ResultCount>0</d2p1:ResultCount>
</NetworkHospital>
</NetworkHospitalDetailListResponse>
</soap12:Body>
</soap12:Envelope>