v1

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

GetAllCheckMenuMixRecordsV1

Retrieve Menu Mix sales data stored at the Check/Recipe Item level of granularity. Retrieve a single Menu Mix sales data record with details using checkNumber and includeDetails.

get/checkmenumix/v1/getAllCheckMenuMix

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 Guest Checks. When true the checkNumber must be used.

locationCodestring required

The Code that identifies the Location in Crunchtime.

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

Example response

[
  {
    "checkMenuMixDetails": {
      "businessDate": "08/11/2019",
      "customerCode": "000011",
      "locationCode": "000011"
    },
    "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"
    }
  }
]