Create Or Update Patron Check In

Create or update a check-in event.

If event_id is provided, updates existing event. Otherwise creates a new one.

post/works/OL{work_id}W/check-ins

Request

  • Base URL: https://openlibrary.org (the document declares no server; this is the origin it was published from)
  • URL: https://openlibrary.org/works/OL{work_id}W/check-ins
  • Auth: API key in cookie session

Path parameters

work_idinteger required

Request body

event_typeinteger required

Event type enum value (1=start, 2=update, 3=finish)

yearinteger required

Four-digit year (1-9999)

monthinteger nullable

Month (1-12)

dayinteger nullable

Day (1-31)

edition_keystring nullable

Edition OLID (e.g. OL123M)

event_idinteger nullable

Response

Successful Response

statusstring required
idinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.