GET v2/DesignMode/{DesignModeID}
V2 Version of DesignMode. Returns a design mode, with all menus and products associated. Each menu has a list of sub-menus, and a list of products within that menu. Supports a limitless heirarchy of MenuButtons. Differences from V1: SLU groups are returned within the Products of the menu their button sits in (in button order) rather than in a separate list, and every product has MeasureIDs - for instant pop-up products this lists the measures to prompt from, where MeasureID is 0.
Request Information
URI Parameters
| Name | Type | Description | Additional information |
|---|---|---|---|
| DesignModeID | integer | ||
| version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
DesignModeMenuCatalogue| Name | Type | Description | Additional information |
|---|---|---|---|
| Menus | Collection of DesignModeMenuModel |
None. |
|
| Products | Collection of DesignModeButtonModel |
All products and SLU groups on the root screen, in button order. Each entry is either a product (ProductID/MeasureID) or an SLU group (SLUGroupID/Items). |
|
| Promos | Collection of DesignModePromoModel |
None. |
|
| DesignModeID | integer |
None. |
|
| PackageID | integer |
None. |
|
| Name | string |
None. |
|
| IsActive | boolean |
None. |
|
| DateTimeCreated | datetime |
None. |
|
| DateTimeSaved | datetime |
None. |
Response Formats
application/json, text/json
{
"DesignModeID": 87,
"PackageID": 3,
"Name": "Bar Till",
"IsActive": true,
"DateTimeCreated": "2025-01-14T09:30:00",
"DateTimeSaved": "2025-06-02T16:45:12",
"Menus": [
{
"Name": "Drinks",
"Menus": [
{
"Name": "Wine",
"Menus": [],
"Products": [
{
"Type": "Product",
"ProductID": 2150,
"MeasureID": 0,
"MeasureIDs": [
7,
8,
9
]
}
]
}
],
"Products": [
{
"Type": "Product",
"ProductID": 2101,
"MeasureID": 1,
"MeasureIDs": [
1
]
},
{
"Type": "SLUGroup",
"SLUGroupID": 12,
"PackageID": 3,
"Name": "Soft Drinks",
"Description": "Soft drinks quick-select",
"SLUType": 0,
"DesignModeButtonID": 5410,
"DesignModeButtonArgument": "12",
"Items": [
{
"SLUGroupItemID": 301,
"Sequence": 1,
"IsInstantPopup": false,
"ProductID": 2201,
"MeasureID": 4,
"TenderTypeID": null,
"FunctionKeyFunctionID": null
},
{
"SLUGroupItemID": 302,
"Sequence": 2,
"IsInstantPopup": true,
"ProductID": 2202,
"MeasureID": null,
"TenderTypeID": null,
"FunctionKeyFunctionID": null
}
]
}
]
}
],
"Products": [
{
"Type": "Product",
"ProductID": 1045,
"MeasureID": 2,
"MeasureIDs": [
2
]
}
],
"Promos": [
{
"PromoName": "Happy Hour",
"PromoID": 6
}
]
}
application/xml, text/xml
System.Xml.XmlDocument