# Holding

Provider API v0.6.5 · 1 operation
Kilde: https://plas.redia.dk/provider/v0.6.5/holding/

Ingen beskrivelse i specifikationen.

## Get holdings

`GET` `/holdings` · `GetHoldings`

### Parametre

- `publication_ids` (i `query`, `array of string`, påkrævet) — A list of publication IDs, each publication ID should be url encoded and separated by a comma.
- `show_to` (i `query`, `array of string enum`, valgfri) — A list of show_to values, where each value is url encoded and separated by a comma.

This tells the provider that the returned data is intended to be shown to a specific group of users, and
all returned data must be filtered appropriately.

If no groups are given, all data should be returned.

- `patron_id` (i `query`, `string`, valgfri) — The patron ID of the active patron.

Fælles for operationerne: `version`. [Se den fælles kontrakt på versionssiden.](https://plas.redia.dk/provider/v0.6.5/)

### Svar

- `200` [`GetHoldingResponseBody`](https://plas.redia.dk/provider/v0.6.5/schemas/#GetHoldingResponseBody) — The response will contain a mapping from each publication ID to an array of holdings.

If a publication ID represents a periodical, there can be from zero to many holdings for that publication ID, and each holding will represent a unique issue of that periodical.

If a publication ID does not represent a periodical, there can be from zero to one holding for that publication ID.


Fejlsvar: 400 · 401 — [Se den fælles kontrakt på versionssiden.](https://plas.redia.dk/provider/v0.6.5/)
