v1

latestOpenAPI 3.0.0Apache License Version 2.02026-07-24163274903.6 KB
Check Menu Mix Service

getCheckMenuMixRecordsByPage

Retrieve Menu Mix sales data stored at the Check/Recipe Item level of granularity, split across 1-to-many pages using pageNumber. Use to retrieve data in smaller chunks.

get/checkmenumix/v1/getCheckMenuMixByPage

Query parameters

businessDatestring required

A 24-hour period defined in the checkMenuMixHeaderDetails. Use format: dd-MMM-yy.

checkNumberstring

The number attributed to a guest check within the POS system.

includeDetailsboolean

Use true to retrieve detailed information for each Guest Check.

locationCodestring

The Code that identifies the Location in Crunchtime.

pageNumberinteger

Retrieve one or more records by pageNumber. Use to retrieve data in smaller chunks. If left blank, the default is 1.

pageSizeinteger

Number of items to display per page.

includeNullboolean

Specify 'true' to output null data elements.

includeEmptyChecksboolean

If 'true', includes empty checks; default value is 'false' (optional).

Headers

authenticationtokenstring required

Secure token for API authentication.

passwordstring required

Password for the Crunchtime Application User.

sitenamestring required

Crunchtime site identifier. (test or production)

useridstring required

User ID for the Crunchtime Application User.

X-B3-TraceIdstring

Optional trace identifier for troubleshooting.

Response

Success

hasNextboolean
totalPagesinteger

Example response

{
  "checkMenuMixDetails": [
    {
      "checkMenuMixGroupDetails": [
        {
          "checkMenuMixCheckDetails": [
            {
              "chargeTips": 9999.99,
              "checkCloseTime": "11:30",
              "checkOpenTime": "11:30",
              "excludeConsumptionFlag": "Y",
              "guestCount": 99,
              "timeOfSale": "11:30"
            }
          ],
          "checkMenuMixItemDetails": [
            {
              "cost": 55.61,
              "itemType": 3,
              "parentLineNumber": 9999,
              "pluNumber": 9999,
              "posLineNumber": 12345,
              "posPrice": 9999.9,
              "posQuantity": 9999.9,
              "posValue": 9999.9,
              "productNumber": "R1717_EM",
              "recipeName": "TURKEY AVOCADO CLUB_EM",
              "timeOfSale": "12:30"
            }
          ],
          "checkMenuMixMiscCheckDetails": [
            {
              "dataValue": "TEST",
              "miscId": 9
            }
          ],
          "checkMenuMixMiscItemDetails": [
            {
              "dataValue": "TEST",
              "miscId": 9,
              "pluNumber": 9999,
              "posLineNumber": 12345
            }
          ],
          "checkMenuMixTimeDetails": [
            {
              "posTimeId": 9,
              "value": 9
            }
          ]
        }
      ],
      "checkMenuMixHeaderDetails": {
        "businessDate": "08/11/2019",
        "customerCode": "000011",
        "locationCode": "000011"
      }
    }
  ]
}