...
URL | |||
Method | POST | ||
Request headers | Authorization | Required | |
Date | Required | ||
JSON attributes | isbn | Required | ISBN of the book you are reporting numbers for, mandatory |
periodFrom | Required | Start of the reporting period on the format yyyy-MM | |
periodTo | Required | End of the reporting period on the format yyyy-MM | |
productOwnerId | Required | Numeric ID of the publisher who owned the rights to the book during the reporting period | |
productOwnerName | Optional | Name of the publisher who owned the rights to the book during the reporting period | |
cost.totalCost | Required | The total cost that will be billed for this ISBN | |
cost.paidCost | Optional | Can be sent in addition to cost.totalCost if you separate between trial and subscription | |
cost.trialCost | |||
consumption.total | Required | The total amount of books read | |
consumption.paid | Optional | Can be sent in addition to consumption.total if you separate between trial and subscription | |
consumption.trial | |||
price.ppu | RequiredOptional | The price per book read (price per unit) | |
price.paidPpu | Optional | Can be sent in addition to price.ppu if you separate between trial and subscription | |
price.trialPpu | |||
currency | Optional | The currency of the cost/ppu-fields | |
market | Optional | The market you are reporting for | |
Response headers | |||
Response body | Empty on success | ||
Returns | 204 | No success | |
40x | On errors |
...