Lock Booking
The Sonderplan user interface features a booking locking system that prevents accidental overwrites when multiple users are editing the same booking.
A booking lock is automatically created for a user that opens the booking editor sidebar, or clicks on Edit in the advanced booking editor. The lock is automatically deleted if the user saves and closes, or cancels the save operation.
Booking locks automatically created by Sonderplan will last for 10 minutes, unless extended by the user when a lock expiration warning is shown. It is possible to manually lock and unlock bookings with these API endpoints and set the lock time to a custom time as required.
WRITE
access to the SCHEDULE
module is required to access this endpointAuthorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
The ID of the booking to lock
Body
Used to lock bookings whilst editing is in progress
The ID of the user who will obtain the lock
23487
UNIX timestamp of when the lock should end
1647662376