Versions Compared

Key

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

...

This service is only for customers with subscription model using the revenue share financial model. When passing the agreed threshold for reading (i.e. 10%) the subscription provider should send a call this usage API reporting which book the threshold was met for. This can either be done in real time or on a batch basis, but reporting should at a minimum be done daily. Note that this reporting service soon will be replaced. New customers shall not use this. 


URLhttps://api.dds.boknett.no/usage/subscription/rvu
MethodPOST
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
Content-typeRequiredapplication/json
JSON attributesresidRequiredThe product ID in DDS. Unique name for e-/audio books found in the inventory service.
dateTimeRequiredThe date the product passed the agreed threshold, given in ISO-8601 format. YYYY-MM-DD
Response
body
Empty on success
Returns204Success
40xOn errors

...