POST api/Mobile/CheckForUpdate
Request Information
URI Parameters
None.
Body Parameters
Mobile_CheckForUpdateRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| AppName | string |
None. |
|
| DeviceUniqueId | string |
None. |
|
| AppVersion | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AppName": "sample string 1",
"DeviceUniqueId": "sample string 2",
"AppVersion": "sample string 3"
}
application/xml, text/xml
Sample:
<Mobile_CheckForUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PharmatoolsMobileREST.Models"> <AppName>sample string 1</AppName> <AppVersion>sample string 3</AppVersion> <DeviceUniqueId>sample string 2</DeviceUniqueId> </Mobile_CheckForUpdateRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Mobile_CheckForUpdateResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | Mobile_CheckForUpdateResult |
None. |
|
| MinPharmatoolsVersion | integer |
None. |
|
| MaxPharmatoolsVersion | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": 0,
"MinPharmatoolsVersion": 1,
"MaxPharmatoolsVersion": 1
}
application/xml, text/xml
Sample:
<Mobile_CheckForUpdateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PharmatoolsMobileREST.Models"> <MaxPharmatoolsVersion>1</MaxPharmatoolsVersion> <MinPharmatoolsVersion>1</MinPharmatoolsVersion> <Result>GenericError</Result> </Mobile_CheckForUpdateResponse>