Norsk

Ingen beskrivelse i spesifikasjonen.

6 operasjoner
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.

Parametere

patronIdpåkrevd
path · stringPatron ID from authentication.
Felles for operasjonene: version. Se den felles kontrakten på versjonssiden.

Svar

Feilsvar: 400 · 401 · 404 — Se den felles kontrakten på versjonssiden.
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.

Parametere

patronIdpåkrevd
path · stringPatron ID from authentication.
Felles for operasjonene: version. Se den felles kontrakten på versjonssiden.

Request body

application/json · påkrevd

UpdatePatronConsentRequestBody

Svar

Feilsvar: 400 · 401 · 404 — Se den felles kontrakten på versjonssiden.
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.

Parametere

patronIdpåkrevd
path · stringPatron ID from authentication
Felles for operasjonene: version. Se den felles kontrakten på versjonssiden.

Request body

application/json · påkrevd

UpdatePatronInformationRequestBody

Svar

Feilsvar: 400 · 401 · 404 — Se den felles kontrakten på versjonssiden.
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.

Parametere

patronIdpåkrevd
path · stringPatron ID from authentication
Felles for operasjonene: version. Se den felles kontrakten på versjonssiden.

Request body

application/json · påkrevd

UpdatePatronNotificationSettingsRequestBody

Svar

Feilsvar: 400 · 401 · 404 — Se den felles kontrakten på versjonssiden.