MediBuddy Mobile Services V1.1

<back to all web services

VersionCheckRequest

The following routes are available for this service:
GET/appVersion/{CurrentVersion}/{AppType}
POST/appVersion/

To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/VersionCheckRequest HTTP/1.1 
Host: mb-mobile-api.medibuddy.in 
Content-Type: application/xml
Content-Length: length

<VersionCheckRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO.RequestResponse">
  <AppType>ANDROID</AppType>
  <AuthUserId>0</AuthUserId>
  <CurrentVersion>0</CurrentVersion>
  <DeviceId>String</DeviceId>
</VersionCheckRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<VersionCheckResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO.RequestResponse">
  <IsMandatory>false</IsMandatory>
  <IsUpdated>false</IsUpdated>
  <Message>String</Message>
</VersionCheckResponse>