/calendar

Collection of period items.

get

List actual opening hours including exceptions for custom date range. Mainly used by calendar display and provides opening information for loan rules. The response contains only the openings closed times are not included.

Collection of period items.

get

List library hours period. The default response contains the period names and its dates.

post

Saves the new library period

Entity representing a period

get

List opening hours for given periodId.

delete

Delete Opening hours by Id

put

Update library period by periodId

get

This endpoint helps to calculate due date. The response contains three openings: the requested day, next and previous dates openings which are closest to the requested day. Calculation can based on days or hours to calculate overnight loans. In case of existing amount parameter the requested day will be calculated: date + amount * unit otherwise it returns the date itself