Payload Structure in JSON Format

Event: Operation Clocked On

{
"workOrderName":"",
"operation":"",
"laborType":"",
"operatorName":"",
"clockedOnTime":"",
"clockedOnBy":"",
"lotIdentifier":[],
"unitName":"",
"productionLine":"",
"kafkaConsumerId":"",
"publishedDate":"
"}

Event: Operation Clocked Off

{
"workOrderName":"", 
"operation":"", 
"operatorName":"",
 "lotIdentifier":[],
 "clockedOnTime":"",
 "clockedOffTime":"", 
 "clockedOffBy":"", 
 "unitName":"", 
 "productionLine":"", 
 "kafkaConsumerId":"",
 "publishedDate":""
 }

Event: Operation Completed

{
"workOrderName":"",
"lotIdentifier":"",
"operationInfo":{"name":"",
"startTime":"",
"endTime":"",
"unitName":"",
"productionLine":"",
"status":"",
"completedBy":"",
"producedMaterial":"",
"unitOfMeasure":"",
"completedQuantity":,
"billOfMaterials":[],
"properties":[]
},"kafkaConsumerId":"",
"publishedDate":""
}
Note: Only the properties that are specific to the operation are included in the message for an operation-complete event. Properties specific to the route, material, etc. are not included.

Event: Route Released

{
"id":"0000016ed6560f38-0242ac12001a0000",
"name":"Test Route1","revision":2,
"producedMaterialName":"Prod12",
"plannedLineName":"Line1",
"publishedDate":"2019-12-05T13:52:45Z",
"operationsGroup":{"operations":[{"sequenceNumber":1,
"name":"NewOperation",
"description":"",
"plannedUnitNames":["ConsumedUnit"],
"behaviors":["requiresClockOn"],
"propertyValues":[],
"billOfMaterials":[],
"documents":[]}],
"route":{"behaviors":[],
"propertyValues":[],
"billOfMaterials":[{"materialName":"Prod,
"unitOfMeasureName":"EA",
"quantity":3.0,
"displayOrder":3,
"behaviors":[],
"propertyValues":[]},
{
"materialName":"Prod3",
"unitOfMeasureName":"EA",
"quantity":3.0,
"displayOrder":2,
"behaviors":[],
"propertyValues":[]
},
{
"materialName":"prod1",
"unitOfMeasureName":"LB",
"quantity":2.0,
"displayOrder":4,
"behaviors":[],
"propertyValues":[]}],
"documents":[]}}
}

Event: Material Lot Status Changed

{
  "kafkaConsumerId": "",
  "publishedDate": "",
  "materialLot": [
    {
      "lotIdentifier": "",
      "productName": "",
      "status": "",
      "productionUnit": "",
      "quantity": ,
      "productionLine": "",
      "unitOfMeasure": "",
      "properties": [
        {
          "propertyName": "",
          "propertyValue": ""
        },
        {
          "propertyName": "",
          "propertyValue": ""
        },
        {
          "propertyName": "",
          "propertyValue": ""
        },
        {
          "propertyName": "",
          "propertyValue": ""
        },
        {
          "propertyName": "",
          "propertyValue": ""
        },
        {
          "propertyName": "",
          "propertyValue": ""
        }
      ],
      "materialSubLot": [
        {
          "lotIdentifier": "",
          "productName": "",
          "status": "",
          "productionUnit": "",
          "quantity": ,
          "productionLine": "",
          "unitOfMeasure": "",
          "properties": [
            {
              "propertyName": "",
              "propertyValue": ""
            }
          ]
        },
        {
          "lotIdentifier": "",
          "productName": "",
          "status": "",
          "productionUnit": "",
          "quantity": ,
          "productionLine": "",
          "unitOfMeasure": "",
          "properties": [
            {
              "propertyName": "",
              "propertyValue": ""
            },
            {
              "propertyName": "",
              "propertyValue": ""
            },
            {
              "propertyName": "",
              "propertyValue": ""
            }
          ]
        }
      ]
    }
  ]
}

Event: Material Lot Status Changed

{
  "kafkaConsumerId": "00000177b58e3610-0242ac12001a0000",
  "publishedDate": "2021-02-18T14:22:43Z",
  "materialLot": [
    {
      "lotIdentifier": "ERP_NS_20210218_24_JSON",
      "productName": "MCU",
      "status": "Receiver Complete",
      "productionUnit": "Receiver",
      "quantity": 4,
      "productionLine": "Received Material Lots",
      "unitOfMeasure": "EA",
      "properties": [
        {
          "propertyName": "statusUpdatedBy",
          "propertyValue": "comxclient"
        },
        {
          "propertyName": "statusUpdatedTime",
          "propertyValue": "2021-01-27T11:53:41Z"
        },
        {
          "propertyName": "isSerialized",
          "propertyValue": "false"
        },
        {
          "propertyName": "SCRAP",
          "propertyValue": "1"
        },
        {
          "propertyName": "RTV",
          "propertyValue": "1"
        },
        {
          "propertyName": "ACCEPT",
          "propertyValue": "2"
        }
      ],
      "materialSubLot": [
        {
          "lotIdentifier": "ERP_NS_20210218_24_JSON_LOT2",
          "productName": "MCU",
          "status": "Accept",
          "productionUnit": "Received Material Lot-Kilograms",
          "quantity": 2,
          "productionLine": "Received Material Lots",
          "unitOfMeasure": "EA",
          "properties": [
            {
              "propertyName": "Accept",
              "propertyValue": "2"
            }
          ]
        },
        {
          "lotIdentifier": "ERP_NS_20210218_24_JSON_LOT1",
          "productName": "MCU",
          "status": "Scrap",
          "productionUnit": "Received Material Lot-Kilograms",
          "quantity": 2,
          "productionLine": "Received Material Lots",
          "unitOfMeasure": "EA",
          "properties": [
            {
              "propertyName": "OrgCode",
              "propertyValue": "BCO"
            },
            {
              "propertyName": "SCRAP",
              "propertyValue": "1"
            },
            {
              "propertyName": "RTV",
              "propertyValue": "1"
            }
          ]
        }
      ]
    }
  ]
}

Event: Process Order Created

{
  "schemaVersion" : 1,
  "processOrderName": "PO_TestDemo1",
  "processOrderRouteInfo": {
    "plannedStartTime": "2020-10-01T09:33:00Z",
    "plannedEndTime": "2020-10-03T09:33:00Z",
    "plannedQuantity": 40,
    "actualStartTime": null,
    "actualEndTime": null,
    "line": "Line3",
    "product": "Process_Prod1",
    "status": "PENDING",
    "path": "Path Line3",
    "controlType": "QUANTITY",
    "orderType": "SCHEDULE",
    "impliedSequence": 921219720,
    "extendedInfo": null,
    "engineeringUnit": "cm",
    "entryOn": "2020-11-02T06:42:29Z",
    "sourceProcessOrder": null,
   "userGeneral1" :"UserGeneralValue1",
   "userGeneral2" :"UserGeneralValue2",
   "userGeneral3" :"UserGeneralValue3",
    "properties": [
      {
        "propertyName": "TestProp1",
        "propertyValue": "test1"
      },
      {
        "propertyName": "IntProp2",
        "propertyValue": "10"
      }
    ]
  },
  "kafkaConsumerId": "0000017587b15e0c-7f67b3290c000000",
  "publishedDate": "2020-11-02T06:29:43Z"
}

Event: Process Order Updated

{
   "schemaVersion": 1,
  "processOrderName": "PO_TestDemo1",
  "processOrderRouteInfo": {
    "plannedStartTime": "2020-10-01T09:33:00Z",
    "plannedEndTime": "2020-10-03T09:33:00Z",
    "plannedQuantity": 40,
    "actualStartTime": "null",
    "actualEndTime": null,
    "line": null,
    "product": "Process_Prod1",
    "status": "PENDING",
    "path": null,
    "controlType": "QUANTITY",
    "orderType": "SCHEDULE",
    "impliedSequence": 965452670,
    "extendedInfo": null,
    "engineeringUnit": "cm",
    "entryOn": "2020-11-02T07:11:48Z",
    "sourceProcessOrder": null,
    "userGeneral1": "UserGeneralValue1",
    "userGeneral2": "UserGeneralValue2",
    "userGeneral3": "UserGeneralValue3",
 
    "properties": [
      {
        "propertyName": "TestProp1",
        "propertyValue": "test1"
      },
      {
        "propertyName": "IntProp2",
        "propertyValue": "10"
      }
    ]
  },
  "kafkaConsumerId": "0000017587cc35ba-7f67b3290c000000",
  "publishedDate": "2020-11-02T06:29:43Z"
}

Event: Process Order Deleted

{
  "schemaVersion": 1,
  "processOrderName": "Test_Unbound",
  "processOrderRouteInfo": {
    "plannedStartTime": "2020-10-01T15:48:00Z",
    "plannedEndTime": "2020-10-01T16:48:00Z",
    "plannedQuantity": 40,
    "actualStartTime": "2020-10-01T15:48:00Z",
    "actualEndTime": null,
    "line": "Line3",
    "product": "Process_Prod1",
    "status": "ACTIVE",
    "path": "Path Line3",
    "controlType": "QUANTITY",
    "orderType": "SCHEDULE",
    "impliedSequence": 922224120,
    "extendedInfo": null,
    "engineeringUnit": "cm",
    "entryOn": "2020-11-02T07:19:48Z",
    "sourceProcessOrder": null,
    "userGeneral1": "UserGeneralValue1",
    "userGeneral2": "UserGeneralValue2",
    "userGeneral3": "UserGeneralValue3",
    "properties": [
     {
        "propertyName": "TestProp1",
        "propertyValue": "test1"
      },
      {
        "propertyName": "IntProp2",
        "propertyValue": "10"
      }
    ]
  },
  "kafkaConsumerId": "0000017587d38844-7f67b3290c000000",
  "publishedDate": "2020-11-02T06:29:43Z"
}

Event: Process Order Completed

{
"schemaVersion": 1,
"processOrderName": "PO_Test116",
"processOrderRouteInfo": {
"plannedStartTime": "2017-04-08T09:22:17Z",
"plannedEndTime": "2019-03-08T09:22:17Z",
"plannedQuantity": 30,
"actualStartTime": "2020-10-20T16:49:19Z",
"actualEndTime": "2020-10-28T07:06:13Z",
"line": "Line3",
"product": "Process_Prod1",
"status": "COMPLETE",
"path": "Path Line3",
"controlType": "QUANTITY",
"orderType": "SCHEDULE",
"impliedSequence": 860491337,
"extendedInfo": null,
"engineeringUnit": "cm",
"entryOn": "2020-10-28T07:06:13Z",
"sourceProcessOrder": null,
"userGeneral1": "UserGeneralValue1",
"userGeneral2": "UserGeneralValue2",
"userGeneral3": "UserGeneralValue3",
"actualBadQuantity": 1,
"actualGoodQuantity": 9,
"properties": [
{
"propertyName": "TestProp1",
"propertyValue": "test1"
},
{
"propertyName": "IntProp2",
"propertyValue": "10"
}
]
},
"kafkaConsumerId": "000001756e077a01-7f67b3290c000000",
"publishedDate": "2020-10-28T06:44:23Z",
"materialLots": [
{
"lotIdentifier": "Production_event1",
"unit": "Unit3",
"producedQuantity": 6,
"unitOfMeasure": "EA"
},
{
"lotIdentifier": "Production_event2",
"unit": "Unit2",
"producedQuantity": 4,
"unitOfMeasure": "CM"
}
]
}