GET api/Medicine/IsVersionCompatible/{Realm}/{CurrentRemoteVersionNumber}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Realm | string |
None. |
|
| CurrentRemoteVersionNumber | string |
None. |
Body Parameters
None.
Response Information
Resource Description
IsVersionCompatibleResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | string |
Required Matching regular expression pattern: UPTODATE|UPDATEAVAILABLE|MUSTUPDATE|DISCONTINUED |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"result": "sample string 1",
"message": "sample string 2"
}
application/xml, text/xml
Sample:
<IsVersionCompatibleResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bazookas.Medicine.Service.Models"> <Message>sample string 2</Message> <Result>sample string 1</Result> </IsVersionCompatibleResponse>