Explanation of the event
The kitchenStartCourse event occurs whenever a kitchen employee starts preparation of a specific course in an order.
Part of the Kitchen Food Preparation flow
The
kitchenStartCourse event is step one in a three-step flow that involves the following events:
(1) kitchenStartCourse, (2) kitchenCompleteCourse and (3) kitchenServeCourse.
kitchenStartCourse Preparation of a new course was started
Request
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
POST https://www.example.com/webhooks/kitchenStartCourse X-Mplus-Subscription-Id: example_subscription X-Mplus-Signature: uZucqk+xPZii7TmP1IHOKPoS4/K+8ejNwl7EyxnEzs4= Content-Type: application/json Accept: application/json { "event": { ... }, // the usual event data "sender": { ... }, // the usual sender data "cafeteriaOrder": { "orderId": "5bf3dd11-33a5-4a80-a1d8-d63ccf7c786f", "year": 2018, "number": 6540, "ticketNumber": 40 }, "tableOrder": { "orderId": "5eea25d4-4188-43b8-9a66-8086561d590c", "year": 2018, "number": 85214 }, "table": { "number": 12, "subNumber": 2, "tableName": "J. Smith", "numberOfGuests": 1 }, "course": { "courseNumber": 1, "name": "First", "abbreviation": "F", "sequenceNumber": 1, "expectedPreparationTime": 60 } } |
Property | Type | Explanation |
---|---|---|
cafeteriaOrder.orderId | uuid | The table order’s UUID. |
cafeteriaOrder.year | uuid | The table order’s year. |
cafeteriaOrder.number | uuid | The table order’s number. |
cafeteriaOrder.ticketNumber | uuid | This is usually the last two digits of the order’s number. |
tableOrder.orderId | uuid | The table order’s UUID. |
tableOrder.year | uuid | The table order’s year. |
tableOrder.number | uuid | The table order’s number. |
table.number | bigint (optional) | The table number of the order. |
table.subNumber | bigint (optional) | The table sub number of the order. |
course.courseNumber | int | The course’s number. |
course.name | string | The course’s full name. |
course.abbreviation | string | The course’s abbreviation. |
course.sequenceNumber | string | The course’s ordering in the full list of courses. |