GET api/Updater/CheckForUpdates?version={version}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
version | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiResultOfCheckForUpdatesModelName | Description | Type | Additional information |
---|---|---|---|
Errors | ErrorModel |
None. |
|
Result | CheckForUpdatesModel |
None. |
|
IsSuccess | boolean |
None. |
|
StatusCode | HttpStatusCode |
None. |
Response Formats
application/json, text/json
Sample:
{ "Errors": { "ErrorsNumber": 1, "Messages": [ "sample string 1", "sample string 2" ], "MessagesString": "sample string 2" }, "Result": { "UpdateAvailable": true, "UpdateVersion": "sample string 2", "VersionsDetails": [ { "Number": "sample string 1", "Description": "sample string 2", "DeleteBooksAndDb": true, "Details": [ "sample string 1", "sample string 2" ], "FileUri": "sample string 4" }, { "Number": "sample string 1", "Description": "sample string 2", "DeleteBooksAndDb": true, "Details": [ "sample string 1", "sample string 2" ], "FileUri": "sample string 4" } ] }, "IsSuccess": false, "StatusCode": 100 }
application/xml, text/xml
Sample:
<ApiResultOfCheckForUpdatesModel5MESSB3T xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CSAeReader.Common.API"> <Errors> <ErrorsNumber>1</ErrorsNumber> <Messages xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Messages> <MessagesString>sample string 2</MessagesString> </Errors> <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/CSAeReader.Common.Models"> <d2p1:UpdateAvailable>true</d2p1:UpdateAvailable> <d2p1:UpdateVersion>sample string 2</d2p1:UpdateVersion> <d2p1:VersionsDetails> <d2p1:VersionInfo> <d2p1:DeleteBooksAndDb>true</d2p1:DeleteBooksAndDb> <d2p1:Description>sample string 2</d2p1:Description> <d2p1:Details xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>sample string 1</d5p1:string> <d5p1:string>sample string 2</d5p1:string> </d2p1:Details> <d2p1:FileUri>sample string 4</d2p1:FileUri> <d2p1:Number>sample string 1</d2p1:Number> </d2p1:VersionInfo> <d2p1:VersionInfo> <d2p1:DeleteBooksAndDb>true</d2p1:DeleteBooksAndDb> <d2p1:Description>sample string 2</d2p1:Description> <d2p1:Details xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>sample string 1</d5p1:string> <d5p1:string>sample string 2</d5p1:string> </d2p1:Details> <d2p1:FileUri>sample string 4</d2p1:FileUri> <d2p1:Number>sample string 1</d2p1:Number> </d2p1:VersionInfo> </d2p1:VersionsDetails> </Result> <StatusCode>Continue</StatusCode> </ApiResultOfCheckForUpdatesModel5MESSB3T>