Insert Barcodes (v2)

Endpoint: config/sim/v2/menuItems/bulkInsertBarcodes

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.

  • Barcode cannot be negative

  • The field DefSequenceNum must be between 0 and 64.

  • The field PriceSequenceNum must be between 0 and 8.

  • leadNumZeros cannot be negative

  • Duplicate objectNum at same hierUnitId

  • Duplicate barcode value at same hierUnitId

Sample Request

[
    {
        "hierUnitId": 662,
        "objectNum": 1,
        "masterObjNum": 1,
        "barcode": 334768,
        "defSequenceNum": 1,
        "priceSequenceNum": 1,
        "alternatePrice": 200,
        "alternatePrepCost": 90,
        "leadNumZeros": 0
    },
    {
        "hierUnitId": 662,
        "objectNum": 2,
        "masterObjNum": 1,
        "barcode": 3435453,
        "defSequenceNum": 1,
        "priceSequenceNum": 1,
        "alternatePrice": 99,
        "alternatePrepCost": 55,
        "leadNumZeros": 0
    }
]