GET api/book/epub/{ean}/check
V1 - Test the availability of an encrypted ePub file for the specified EAN
This method will check the availability of an epub for the specified EAN. If the EAN is not available for the vendor, a statuscode 403 will be returned.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ean |
EAN |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
YindoOfflineBook| Name | Description | Type | Additional information |
|---|---|---|---|
| bookID |
The ID for this book |
integer |
None. |
| ean |
A 13 digit EAN. This starts with 978- for 'real' books and with 888- for Yindo Custom Books |
string |
None. |
| altean |
A 13 digit EAN. This starts with 978- for 'real' books and with 888- for Yindo Custom Books |
string |
None. |
| title |
The title for this book. |
string |
None. |
| encryptedOn |
The encryptiondate for this books data. |
date |
Data type: DateTime |
| validUntil |
The expirationdate for this books data. |
date |
Data type: DateTime |
| dataFormat |
The format of the encrypted content. |
DataFormats |
None. |
| fileCount |
The number of files in the encrypted zipfile |
integer |
None. |
| fileSize |
The total size in bytes of all unencrypted, uncompressed files in the encrypted zipfile |
integer |
None. |
| bookData |
Encrypted data (AES-CBC), base64 encoded
|
string |
None. |
| statusCode |
A statuscode indicating succes or failure |
StatusCode |
None. |
Response Formats
application/json, text/json
{
"bookID": 1,
"ean": "sample string 2",
"altean": "sample string 3",
"title": "sample string 4",
"encryptedOn": "2026-02-20T15:54:33.2542462+01:00",
"validUntil": "2026-02-20T15:54:33.2542462+01:00",
"dataFormat": 1,
"fileCount": 7,
"fileSize": 8,
"bookData": "sample string 9",
"statusCode": 0
}
text/javascript
{"bookID":1,"ean":"sample string 2","altean":"sample string 3","title":"sample string 4","encryptedOn":"2026-02-20T15:54:33.2542462+01:00","validUntil":"2026-02-20T15:54:33.2542462+01:00","dataFormat":1,"fileCount":7,"fileSize":8,"bookData":"sample string 9","statusCode":0}
application/xml, text/xml
<YindoOfflineBook xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yindo"> <altean>sample string 3</altean> <bookData>sample string 9</bookData> <bookID>1</bookID> <dataFormat>ePub</dataFormat> <ean>sample string 2</ean> <encryptedOn>2026-02-20T15:54:33.2542462+01:00</encryptedOn> <fileCount>7</fileCount> <fileSize>8</fileSize> <statusCode>Success</statusCode> <title>sample string 4</title> <validUntil>2026-02-20T15:54:33.2542462+01:00</validUntil> </YindoOfflineBook>