Created
March 24, 2025 13:32
-
-
Save danmichaelo/20d48df746e3e5aca5969f0b5ff1525e to your computer and use it in GitHub Desktop.
getMarcOrderRecords request body draft 2025-03-24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type: object | |
additionalProperties: false | |
required: | |
- order_date | |
- is_bibbi_subscriber | |
- products | |
properties: | |
order_date: | |
description: > | |
Ordredato. Format: ÅÅÅÅ-MM-DD | |
example: "2404-12-01" | |
type: string | |
format: date | |
is_bibbi_subscriber: | |
description: > | |
Settes til `true` hvis kunden er Bibbi-kunde (og skal ha fullpost), ellers til | |
`false`. | |
type: boolean | |
products: | |
type: array | |
description: > | |
Produkter i ordren. Merk at samme produkt kan inngå flere ganger i listen hvis det har ulik | |
fordelingsinformasjon. | |
minItems: 1 | |
items: | |
type: object | |
additionalProperties: false | |
required: | |
- product_id | |
- price_per_item_nok | |
- item_ids | |
- supplier_code | |
- is_laminated | |
properties: | |
product_id: | |
type: string | |
format: uuid | |
description: ID til produkt. | |
price_per_item_nok: | |
description: > | |
Pris til kunde per eksemplar. Format: <kroner (1-4 siffer)>.<øre (2 siffer)> | |
example: "199.00" | |
type: string | |
pattern: '^\d{1,4}\.\d{2}$' | |
marc_record_id: | |
description: > | |
Lokal identifikator for katalogposten i biblioteksystemet til kunden (kalt | |
«tittelnummer» i Bibliofil). Valgfritt felt som kun brukes for å koble med | |
eksisterende katalogpost som ikke har ISBN, f.eks. film og spill. Verdien | |
erstatter Bibbi-ID i 001-feltet i MARC-posten. | |
type: string | |
item_ids: | |
type: array | |
description: > | |
Eksemplarnummer. Brukes kun for kunder som har FiksFerdig. Havner i 099$a i | |
bestillingsposten. | |
minItems: 1 | |
items: | |
type: string | |
is_laminated: | |
type: boolean | |
description: > | |
Om boka leveres med plasting fra Biblioteksentralen (plastfolie for ekstra beskyttelse). | |
supplier_code: | |
description: > | |
Leverandørkode (099$e). | |
type: string | |
example: "BS" | |
budget_code: | |
description: > | |
Budsjettkode i biblioteksystemet til kunden (099$k). Maks 2 tegn i | |
Bibliofil. | |
type: string | |
branch_code: | |
description: > | |
Filial-/avdelingskode fra biblioteksystemet til kunden (099$m). | |
Maks 4 tegn for Bibliofil. For Cicero brukes ISIL-kode (10 tegn). | |
Eksempler: 'tb' (Bibliofil), 'NO-2030000' (Cicero) | |
type: string | |
location: | |
description: > | |
Samling eller annen plasseringsbeskrivelse fra kunden (099$n). Maks | |
10 tegn i Bibliofil. | |
type: string | |
shelf: | |
description: > | |
Hylle (099$h). Eksempel: 'Flerspråklig DIK'. | |
type: string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment