GET api/synchronization/confirmDownloadSuccess?productId={productId}
Method that confirms that book is successfully downloaded
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
productId |
The ProductId for the book that should be downloaded |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns ApiResult of type bool
ApiResultOfInt32Name | Description | Type | Additional information |
---|---|---|---|
Errors | ErrorModel |
None. |
|
Result | integer |
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": 1, "IsSuccess": false, "StatusCode": 100 }
application/xml, text/xml
Sample:
<ApiResultOfint 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>1</Result> <StatusCode>Continue</StatusCode> </ApiResultOfint>