HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/WellnessPackageRequest HTTP/1.1
Host: mb-mobile-api.medibuddy.in
Content-Type: application/xml
Content-Length: length
<WellnessPackageRequest 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>
<MAID>0</MAID>
</WellnessPackageRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<PackageResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO.RequestResponse">
<ErrorMsg>String</ErrorMsg>
<IsSuccess>false</IsSuccess>
<RuleEnginePackages xmlns:d2p1="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO">
<d2p1:RuleEnginePackage>
<d2p1:AdditionalParmaters xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:KeyValueOfstringstring>
<d4p1:Key>String</d4p1:Key>
<d4p1:Value>String</d4p1:Value>
</d4p1:KeyValueOfstringstring>
</d2p1:AdditionalParmaters>
<d2p1:Contract>
<d2p1:ContractId>0</d2p1:ContractId>
<d2p1:ContractName>String</d2p1:ContractName>
</d2p1:Contract>
<d2p1:FinalPackagePrice>0</d2p1:FinalPackagePrice>
<d2p1:IsPaid>false</d2p1:IsPaid>
<d2p1:KrishiKalyanCess>0</d2p1:KrishiKalyanCess>
<d2p1:MahsCharge>0</d2p1:MahsCharge>
<d2p1:PER_Id>0</d2p1:PER_Id>
<d2p1:PackageName>String</d2p1:PackageName>
<d2p1:PackagePrice>0</d2p1:PackagePrice>
<d2p1:PrimaryCessTax>0</d2p1:PrimaryCessTax>
<d2p1:SecondaryCessTax>0</d2p1:SecondaryCessTax>
<d2p1:ServiceTax>0</d2p1:ServiceTax>
<d2p1:SwachhBharatCess>0</d2p1:SwachhBharatCess>
</d2p1:RuleEnginePackage>
</RuleEnginePackages>
</PackageResponse>