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.


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 values to be determined)
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


ATOM Inventory XML format for v2

For v2 some fields are removed, contact us if we have removed fields that are important for your process. 

Example XML:

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:inv="http://bokbasen.no/module/inventory/1.0">
  <title>Inventory Items</title>
  <link rel="self" type="application/atom+xml" href="http://api.dds.boknett.no/inventory/" title="Inventory feed" />
  <updated>2015-08-07T11:19:45Z</updated>
  <entry>
    <id>urn:uuid:99496f82-84c5-4de7-9899-31603e26a355</id>
    <updated>2015-08-06T11:52:09Z</updated>
    <inv:isbn>9788242160966</inv:isbn>
    <inv:publisher>900224</inv:publisher>
    <inv:format>MP3</inv:format>
    <inv:drm>SDRM</inv:drm>
    <inv:version>1</inv:version>
    <inv:deleted />
    <inv:published>true</inv:published>
    <inv:access>false</inv:access>
    <inv:excerpt>false</inv:excerpt>
  </entry>
</feed>


Place an order

...