...
Code Block | ||
---|---|---|
| ||
<?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/dds-service-store/inventory/" title="Inventory feed" /> <updated>2015-08-07T11:19:45Z</updated> <entry> <title /> <author> <name /> </author> <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:firstpublished>2015-08-06T11:52:09Z</inv:firstpublished> <inv:deleted /> <inv:published>true</inv:published> <inv:access>false</inv:access> <inv:excerpt>false</inv:excerpt> </entry> <entry> <title /> <author> <name /> </author> <id>urn:uuid:8d9f423c-6caf-4f9c-aee4-8d8bb34656b2</id> <updated>2015-08-06T11:24:42Z</updated> <inv:isbn>9788242161024</inv:isbn> <inv:publisher>900224</inv:publisher> <inv:format>MP3</inv:format> <inv:drm>SDRM</inv:drm> <inv:version>5</inv:version> <inv:firstpublished /> <inv:deleted /> <inv:published>false</inv:published> <inv:access>false</inv:access> <inv:excerpt>false</inv:excerpt> </entry> </feed> |
...
Inventory XML element documentation
Format of the file, always MP3 for audio books even if they are distributed in different formats
Element | Explanation |
---|---|
<title> | Title of book |
<author>/ <name> | Name of author |
<id> | The books resource ID, changes if a new version is published. Used several places in API as resId. |
<updated> | Last time resource was updated |
<inv:isbn> | ISBN of book |
<inv:publisher> | if id of publisher |
<inv:format> | Format of the file, always MP3 for audio books even if they are distributed in different formats |
<inv:drm> | What kind of DRM protection the book have |
<inv:version> | Version number for the digital resource. Starts with 1 and increments if new version of the digital book is published. |
<inv:firstpublished> | Date book was first published |
<inv:deleted> | true if book is deleted |
<inv:published> | If the books in published, you cannot initiate downloads on a book that is not published. |
<inv:access> | Role based, do you as an integrator have access to this book? Must be true in order for you to sell the title |
<inv:excerpt> | If excerpts are available through DDS. Will always be false for audio books as these are distributed through the metadata API. |