Versions Compared

Key

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

...

URLhttps://api.dds.boknett.no/inventory/
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
idOptionalUUID (also called resId) of the ebook that you want information about, use this parameter only if you want detailed information about one single title.
isbnOptionalSame as id only based on isbn to give information about a specific title (will always reply with data on latest version of digital book for the isbn)
fromDateOptionalFrom date for the response dataset

toDate 

OptionalThe type of notification, which can be updated (new and updated elements) and deleted. Empty or missing parameter will result in both updated and deleted elements.
stateOptional*

Status that can be used for filtering.

*If fromDate or toDate is given, this is mandatory

Possible values:

PUBLISHED

UNPUBLISHED

CREATED

MODIFIED

DELETED

FIRST_PUBLISHED

ACCESS

Response
headers

 

Content-Type

application/atom+xml;charset=UTF-8

Response
body
ATOM Inventory XML format (see details further down on this page)
Returns200OK
400Bad Request
401Unauthorized
403Forbidden
406Not Acceptable
500Internal Server Error

 

Details on state and fromDate / toDate parameters

These parameters works together differently based on 

 

 

Example (curl)

Download inventory for your user.

...