Run sheet tools
All tool areas. Each tool acts within your access.
Run sheet
get_run_sheet
Get one session's run sheet: its confirmed bookings in the order they booked (then as the orders were made), each with party size, the guest's name as you may see it, menu choices, the answers to kitchen and run sheet questions per guest (past the party flagged), staff's note, whether money is owing, and check-ins (null until check-in exists); with the session's totals: seats, the kitchen's counts by course and choice (as get_kitchen_counts), allergen and dietary plates, guests' notes, seats nobody chose a dish for. Needs sessions:read and kitchen:read where the session is. Names need bookings:read (full names customers:contact, else first names), money orders:amounts, notes both; someone with only kitchen:read (a venue partner) gets the kitchen's view: each booking by its code and party size with choices, allergies and dietary notes, and no names, contacts, notes, or money.
Reads · Members of an organization · Needs kitchen:read, sessions:read
Input
sessionIdThe session's id, from list_sessions
Output
tipQrThe QR code guests tip by for this session's product at its location, while the tipQr setting is on there; null otherwise. Always present
tipQr.urlWhat the QR code holds: the tip page, BOOKING_URL/<organization>/tip/<token>
tipQr.svgThe QR code as an SVG document (black on white, with its quiet zone), for any size
sessionsession.sessionIdsession.productIdsession.productNamesession.hasMenuWhether its product has an active menu where this session is offered (the location's own, else one for all its locations): a dining session, with menu choices and a kitchen sheet. Without one, the session has no kitchen sheet.
session.locationIdsession.locationNamesession.startsAtsession.localStartAt the location, YYYY-MM-DDTHH:MM
session.statussession.menuCutoffAtsession.blockThe closure or product block it's inside, which takes it off sale (its bookings stay); null when none. Always present
session.block.idsession.block.kindsession.block.noteviewfloor: the caller holds bookings:read here (names as far as they may see them). kitchen: codes, choices, and notes only
bookingsbookings[]bookings[].codeThe booking code
bookings[].partySizebookings[].nameThe guest as the caller may see them: the full name with customers:contact, the first name with bookings:read, null for the kitchen's view
bookings[].bookingIdNull in the kitchen's view
bookings[].orderIdNull in the kitchen's view
bookings[].bookedAtbookings[].menuThe booking's menu counts, by course in the menu's order
bookings[].menu[]bookings[].menu[].coursebookings[].menu[].choiceNull: seats nobody chose for (no default)
bookings[].menu[].quantitybookings[].menu[].defaultedThe course's default filled these seats
bookings[].answersbookings[].answers[]bookings[].answers[].questionIdbookings[].answers[].questionbookings[].answers[].participantWhich guest (1 to the party); null for the booking
bookings[].answers[].valuebookings[].answers[].value — array option 4bookings[].answers[].value — array option 4[]bookings[].answers[].kitchenA kitchen question (allergies, dietary needs)
bookings[].answers[].runSheetA run sheet question
bookings[].answers[].pastPartyThis guest's number is past the party as it is now: the seat count dropped after it was answered, so they may still be coming
bookings[].answers[].warningWhat to tell the room about a pastParty answer; else null
bookings[].staffNoteNeeds bookings:read and orders:amounts; else null
bookings[].paymentDueWhether the booking still owes money, so the host sends them to the desk. Needs bookings:read; null in the kitchen's view
bookings[].balanceDueMinor units. Needs orders:amounts and bookings:read; else null
bookings[].currencybookings[].checkedInGuests checked in, 0 to the party
totalstotals.bookingstotals.seatstotals.coursesget_kitchen_counts' counts for this session
totals.courses[]totals.courses[].courseIdtotals.courses[].nametotals.courses[].choicestotals.courses[].choices[]totals.courses[].choices[].choiceIdNull: seats nobody chose for (no default)
totals.courses[].choices[].nametotals.courses[].choices[].quantitytotals.courses[].choices[].defaultedOf these, the seats the course's default filled
totals.courses[].choices[].allergenstotals.courses[].choices[].allergens[]totals.courses[].choices[].dietarytotals.courses[].choices[].dietary[]totals.allergenstotals.allergens[]totals.allergens[].allergentotals.allergens[].platestotals.dietarytotals.dietary[]totals.dietary[].tagtotals.dietary[].platestotals.guestNotesGuests' answers to kitchen questions (allergies, dietary needs), and the bookings with any
totals.guestNotes.answerstotals.guestNotes.bookingstotals.notChosenSeats nobody chose a dish for in some course (no default)
totals.paymentDueBookings still owing money. Needs bookings:read; else null
totals.checkedInGuests checked in across the session's bookings