Optional host handler. Validate and persist the request, then publish the confirmed snapshot. Reject on failure. Omit for read-only use with a supplied snapshot.
Data and integration
Preview
Three group stays with draft, partial and confirmed rooming lists.
Inputs
Provide programme and groups with id, hotel, stayLabel, version, status and lines with id and status. dueLabel, daysUntilDue and individual line label are optional.
Source options
Use the bookings system and the hotel reply. Group states are draft, awaiting, partially-confirmed, confirmed and closed. Line states are pending, confirmed, rejected and changed.
Actions
Open a group to inspect the received replies. Eligible drafts or partial lists with changes or rejections can submit { type: 'send-rooming-list', id, expectedVersion }.
Integration requirements
Version 0 means unsent. The host validates expectedVersion and eligibility before sending or revising a list. Confirmation counts include confirmed lines only.