/
Loans

Loans

Reporting license sales back to publishers

There is an established reporting flow through Bokbasen to all owners of e- and audio-/books. This API covers reporting of license usage. For books in pay per loan model, one should only report here when the book has passed the reading threshold of 10%. For packages the report is done at the time of buying or no later than the night after.

URL

https://api.bokbasen.io/reporting/loan/v1

Method

POST

Request headers

Authorization

Required

The token acquired from the Authentication Service

Audience: https://api.bokbasen.io/reporting/

Content-type

Required

application/json

JSON attributes

isbn

Required

ISBN of the book you are reporting numbers for

model

Required

PACKAGE or PAY_PER_LOAN

price

Required

Sales price in NOK

date

Required

The date the product passed the agreed threshold, given in ISO-8601 format. YYYY-MM-DD

Response headers

 

 

Response body

Empty on success

Returns

204

No Content

40x

On errors

Related content