HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/PackageDetailsRequest HTTP/1.1
Host: mb-mobile-api.medibuddy.in
Content-Type: application/xml
Content-Length: length
<PackageDetailsRequest 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>
<ContractId>0</ContractId>
<MAID>0</MAID>
<PackageId>0</PackageId>
</PackageDetailsRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<PackageDetailsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO.RequestResponse">
<AllowedInvestigations xmlns:d2p1="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO">
<d2p1:PackageContent>
<d2p1:ContentName xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>String</d4p1:string>
</d2p1:ContentName>
<d2p1:GroupName>String</d2p1:GroupName>
</d2p1:PackageContent>
</AllowedInvestigations>
<CorporateRate>String</CorporateRate>
<DcRate>String</DcRate>
<ExistingAppointmentID>String</ExistingAppointmentID>
<Gender>String</Gender>
<Id>0</Id>
<IsPackageAppointmentActive>false</IsPackageAppointmentActive>
<IsSponsered>false</IsSponsered>
<KrishiKalyanCess>String</KrishiKalyanCess>
<MahsCoOrdinationCharges>String</MahsCoOrdinationCharges>
<MahsRate>String</MahsRate>
<MaxAge>String</MaxAge>
<MaxService>String</MaxService>
<MinAge>String</MinAge>
<MinService>String</MinService>
<PrimaryCessTax>String</PrimaryCessTax>
<SecondaryCessTax>String</SecondaryCessTax>
<ServiceTax>String</ServiceTax>
<SwachhBharatCess>String</SwachhBharatCess>
</PackageDetailsResponse>