Versions Compared

Key

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

...

The Onix Import Service allows clients to post a single Object for registration in the Bokbasen system. 

Note

Payload is will be limited to 6MB, contact

When moving to the new URL (Q2 2024). Contact us if that is a problem for you.

URL

https://api.bokbasen.io/metadata/import/object/v1/{id}/{type}

Expand
titleLegacy

https://api.boknett.no/metadata/import/object/{id}/{type}/

The token acquired from the login service. Formated "Boknett TGT-...."

Required header: Date. The timestamp the request was made. Must comply with RFC 1123 date formats.

Method

POST

Request headers 

Authorization

Required

The token acquired from the login service.

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

Content-Type

Required

Based on on content, see table below for valid content types per "type" parameter.

Request body

Binary file content

Response body

XML on validation error, none on 201.

Returns

201

Created

400

Bad Request

500

Internal Server Error

...