GET api/ePub/DownloadFileApp?id={id}&getEpub={getEpub}

Method that is used to download file

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The id of the file that should be downloaded

integer

Required

getEpub

boolean

Default value is True

Body Parameters

None.

Response Information

Resource Description

ApiResultOfHttpResponseMessage
NameDescriptionTypeAdditional information
Errors

ErrorModel

None.

Result

HttpResponseMessage

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": {
    "Version": {
      "_Major": 0,
      "_Minor": 0,
      "_Build": -1,
      "_Revision": -1
    },
    "Content": null,
    "StatusCode": 100,
    "ReasonPhrase": "sample string 1",
    "Headers": [],
    "RequestMessage": null,
    "IsSuccessStatusCode": false
  },
  "IsSuccess": false,
  "StatusCode": 100
}

application/xml, text/xml

Sample:
<ApiResultOfHttpResponseMessagemNfqyIJN 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/System.Net.Http">
    <d2p1:Content i:nil="true" />
    <d2p1:ReasonPhrase>sample string 1</d2p1:ReasonPhrase>
    <d2p1:RequestMessage i:nil="true" />
    <d2p1:StatusCode>Continue</d2p1:StatusCode>
    <d2p1:Version xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:_Build>-1</d3p1:_Build>
      <d3p1:_Major>0</d3p1:_Major>
      <d3p1:_Minor>0</d3p1:_Minor>
      <d3p1:_Revision>-1</d3p1:_Revision>
    </d2p1:Version>
  </Result>
  <StatusCode>Continue</StatusCode>
</ApiResultOfHttpResponseMessagemNfqyIJN>