Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 The performance of this endpoint is dramatically improved compared to v1 and you will be able to load this data much faster. However, note that you will see a much larger number of books with access=false if you do not have a contract to sell international titles. Still, with the significant improvement in load time this is a more efficient way of loading Inventory data for Norwegian titles as well.


Note that if you do lookup on isbn, all versions of the book will be returned, not just the latest one.


URL

https://api.dds.boknett.no/v2/inventory/

 https://api.dds.boknett.no/v2/inventory/{isbn}

MethodGET
Request
headers

Authorization

Required

The token acquired from the Authentication Service.

Formated "Boknett TGT-...."

DateRequiredThe timestamp the request was made. Must comply with RFC 1123 date formats. Example: Tue, 10 Jun 2014 16:23:42 GMT
Query
parameters
afterRequired if next not given
nextRequired if after not given
pagesizeoptional(default and max value is 10000)
Response
headers


Content-Type

application/atom+xml;charset=UTF-8


Nextnext token for next page

Linklink to next page
Response
body
ATOM Inventory XML format (same format as before, however only latest version of each book is returned and some fields are removed)
Returns200OK
40xOn error

...