Insert Combo Meals (v2)

Endpoint: config/sim/v2/menuItems/bulkInsertComboMeals

Pre-Processing Validation Criteria

Validation messages:
  • A non-empty request file is required.

  • You do not have permissions to access this resource.

  • The HierUnitId field is required.

  • The ObjectNumber field is required.

  • Invalid ObjectNumber , it must be non-nullable and non-zero

  • Name cannot exceed 128 characters

  • name should contain a valid language

  • Option bit must contain only 0's and 1's

  • The field SideCount must be between 0 and 99.

  • The field DefaultMenuLvlIndex must be between 0 and 8.

  • The field Price must be between 0.0 and 9999999.9999.

  • The field PrepCost must be between 0.0 and 9999999.9999.

  • The field MenuLvlIndex must be between 0 and 8.

  • The field SequenceNum must be between 1 and 8.

  • Duplicate objectNum

  • Duplicate sideNum within sides

  • The field sideNum cannot be null within sides

  • The field sideNum must be in sequential order within a combo meal, starting from 0

  • Duplicate sequenceNum within side prices

  • The field sequenceNum cannot be null within side prices

  • The field sequenceNum must be in sequential order within a side, starting from 1.

  • Invalid language ID specified: {list of invalid IDs}.

  • Name cannot be null.

Sample Request

[
    {
        "hierUnitId": 8407,
        "priority": 2,
        "menuItemMasterObjNum": 1,
        "options": "0000000000000000",
        "name": {
            "en-US": "ComboMeal #1"
        },
        "sides": [
            {
                "sideNum": 3,
                "comboGrpObjNum": 2,
                "sideCount": 3,
                "menuLevel": "00000000",
                "prices": [
                    {
                        "price": 112.0,
                        "prepCost": 0.0,
                        "activeOnMenuLevel": 0,
                        "sequenceNum": 2
                    },
                    {
                        "price": 111.0,
                        "prepCost": 0.0,
                        "activeOnMenuLevel": 0,
                        "sequenceNum": 1
                    },
                    {
                        "price": 113.0,
                        "prepCost": 0.0,
                        "activeOnMenuLevel": 0,
                        "sequenceNum": 3
                    }
                ]
            },
            {
                "sideNum": 0,
                "comboGrpObjNum": 1,
                "sideCount": 3,
                "menuLevel": "00000000"
            }
        ],
        "objectNum": 1
    },
    {
        "hierUnitId": 8407,
        "priority": 3,
        "menuItemMasterObjNum": 2,
        "options": "0000000000000000",
        "name": {
            "en-US": "ComboMeal #2"
        },
        "sides": [
            {
                "sideNum": 4,
                "comboGrpObjNum": 2,
                "sideCount": 4,
                "menuLevel": "00000000",
                "prices": [
                    {
                        "price": 112.0,
                        "prepCost": 0.0,
                        "activeOnMenuLevel": 0,
                        "sequenceNum": 2
                    }
                ]
            }
        ],
        "objectNum": 2
    }
]