Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

When you are using DDS and a have a user that has subscription permissions you cannot use the normal /order POST to create orders. Then you use this version which has a few modifications and additional validations to use in order to get access to watermarked content for your subscription customers.

 

Place an order for a subscription service

The get inventory service can give data on your entire catalogue or detailed information on one specific title. 

 

URLhttps://api.dds.boknett.no/order/subscription
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
AcceptRequiredapplication/json (We recommend all new implementations to use this header, XML support will be phased out in the future)
Content-typeRequiredapplication/json
JSON attributesorderidOptionalYour store order ID, if not provided we will generate a random one
residRequiredThe product ID in DDS. Unique name for e-/audio books found in the inventory service.
spdOptionalWill default to 0 if not provided, only use this if you have that as a requirement in your contract with the publisher to provide price.

firstname

Optional*First name of the person buying the book (Required for all books with SDRM)
lastnameOptional*

First name of the person buying the book (Required for all books with SDRM)

Response
headers

 

Location

https://api.dds.boknett.no/content/{fulfilmentId}

Response
body
Empty on success
Returns201Created
40xOn errors
  • No labels