HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/MobileBannerRequest HTTP/1.1
Host: mb-mobile-api.medibuddy.in
Content-Type: application/xml
Content-Length: length
<MobileBannerRequest 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>
</MobileBannerRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<MobileBannerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO.RequestResponse">
<Banners xmlns:d2p1="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO">
<d2p1:MobileBanner>
<d2p1:Body>String</d2p1:Body>
<d2p1:CampaignName>String</d2p1:CampaignName>
<d2p1:ImageName>String</d2p1:ImageName>
<d2p1:ImageURL_H>String</d2p1:ImageURL_H>
<d2p1:ImageURL_L>String</d2p1:ImageURL_L>
<d2p1:ImageURL_M>String</d2p1:ImageURL_M>
<d2p1:ImageURL_X>String</d2p1:ImageURL_X>
<d2p1:ImageURL_XX>String</d2p1:ImageURL_XX>
<d2p1:ImageURL_XXX>String</d2p1:ImageURL_XXX>
<d2p1:IsNative>false</d2p1:IsNative>
<d2p1:Link>String</d2p1:Link>
<d2p1:LinkTitle>String</d2p1:LinkTitle>
<d2p1:NativeModuleId>0</d2p1:NativeModuleId>
<d2p1:OfferCode>String</d2p1:OfferCode>
<d2p1:Rank>0</d2p1:Rank>
<d2p1:SubType>String</d2p1:SubType>
<d2p1:Title>String</d2p1:Title>
<d2p1:Type>String</d2p1:Type>
</d2p1:MobileBanner>
</Banners>
</MobileBannerResponse>