PUT api/book

V1 - Update a book in the database.

Request Information

URI Parameters

None.

Body Parameters

BookImportData
NameDescriptionTypeAdditional information
EAN

A unique EAN is is used to identify a book.

string

Required

Max length: 13

PublisherID

Every book is linked to a single publisher through its PublisherID.

integer

Required

Data

The Data property contains CSV-style data. This is the actual data used for importing the title. It expects the actual datafields in the following order, separated by semicolons on a single line.

  1. ISBN
  2. ISBN_PDF
  3. ISBN_EPUB
  4. Titel
  5. Ondertitel
  6. Serie
  7. Serie_nummer
  8. Medium
  9. Taal
  10. Website
  11. Datum_publicatie
  12. Pagina
  13. Gratis
  14. Samenvatting
  15. Flaptekst
  16. Recensie
  17. Druk
  18. Breedte
  19. Hoogte
  20. Auteurs
  21. Redacteuren
  22. Auteurs_CV
  23. NUR
  24. Illustraties
  25. Licentie_maand
  26. Licentie_permanent
  27. Prijs_fysiek
  28. Uitgever
  29. Plaats_uitgave
  30. Keywords
  31. BIC
  32. BISAC
  33. LCC
  34. Dewey
  35. IsAvailable
  36. Leeftijd
  37. Leeftijdscode
  38. AVI
  39. Categorie

string

Required

Request Formats

application/json, text/json, text/javascript, application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

YindoApiResult
NameDescriptionTypeAdditional information
Status

YindoApiStatus defines statuscodes.

YindoApiStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": {
    "Code": 0,
    "Text": "sample string 1"
  }
}

text/javascript

Sample:
{"Status":{"Code":0,"Text":"sample string 1"}}

application/xml, text/xml

Sample:
<YindoApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Yindo.BLL.API">
  <Status>
    <Code>Success</Code>
    <Text>sample string 1</Text>
  </Status>
</YindoApiResult>