Dansk

Ingen beskrivelse i specifikationen.

6 operationer
GET /patron/{patronId}/consent GetPatronConsents

Get patron consents

This includes all the consents that are available for the patron, even if the patron has made a decision on them or not. This also includes all the consents the patron has made a decision on, i.e. accepted or rejected.

Parametre

patronIdpåkrævet
path · stringPatron ID from authentication.
Fælles for operationerne: version. Se den fælles kontrakt på versionssiden.

Svar

Fejlsvar: 400 · 401 · 404 — Se den fælles kontrakt på versionssiden.
PATCH /patron/{patronId}/consent UpdatePatronConsent

Update one or more patron consent(s)

Update patron consents. Only the consents that are present in the body will be updated. Other consents will not be updated. The update is an atomic operation. If one consent fails to update, all consent updates in the request will be rolled back. All consents are returned in the response, not only the updated consents.

Parametre

patronIdpåkrævet
path · stringPatron ID from authentication.
Fælles for operationerne: version. Se den fælles kontrakt på versionssiden.

Request body

application/json · påkrævet

UpdatePatronConsentRequestBody

Svar

Fejlsvar: 400 · 401 · 404 — Se den fælles kontrakt på versionssiden.
PATCH /patron/{patronId}/information UpdatePatronInformation

Update patron information

Update patron information. Important: If a field is missing on the outermost level of the json body (like `pickupLocation`, `emails`, `phoneNumbers`, etc.), the field value is not updated in the LMS.

Parametre

patronIdpåkrævet
path · stringPatron ID from authentication
Fælles for operationerne: version. Se den fælles kontrakt på versionssiden.

Request body

application/json · påkrævet

UpdatePatronInformationRequestBody

Svar

Fejlsvar: 400 · 401 · 404 — Se den fælles kontrakt på versionssiden.
PATCH /patron/{patronId}/notification-settings UpdatePatronNotificationSettings

Update one or more patron notification settings

Update patron notification settings. Only the notification settings that are present in the body will be updated. Other notification settings will not be updated. The update is an atomic operation. If one notification setting fails to update, all notification settings updates in the request will be rolled back. All notification settings are returned in the response, not only the updated notification settings.

Parametre

patronIdpåkrævet
path · stringPatron ID from authentication
Fælles for operationerne: version. Se den fælles kontrakt på versionssiden.

Request body

application/json · påkrævet

UpdatePatronNotificationSettingsRequestBody

Svar

Fejlsvar: 400 · 401 · 404 — Se den fælles kontrakt på versionssiden.