Outbound JSON Messages Structure
Message structure for a clock-on event:
{"workOrderName":"",
"operation":"",
"laborType":"",
"operatorName":"",
"clockedOnTime":"",
"clockedOnBy":"",
"lotIdentifier":[],
"unitName":"",
"productionLine":"",
"kafkaConsumerId":"",
"publishedDate":"
"}
Message structure for a clock-off event:
{"workOrderName":"",
"operation":"",
"operatorName":"",
"lotIdentifier":[],
"clockedOnTime":"",
"clockedOffTime":"",
"clockedOffBy":"",
"unitName":"",
"productionLine":"",
"kafkaConsumerId":"",
"publishedDate":""
}
Message structure for an operation completed event:
{
"workOrderName":"",
"lotIdentifier":"",
"operationInfo":{"name":"",
"startTime":"",
"endTime":"",
"unitName":"",
"productionLine":"",
"status":"",
"completedBy":"",
"producedMaterial":"",
"unitOfMeasure":"",
"completedQuantity":,
"billOfMaterials":[],
"properties":[]
},"kafkaConsumerId":"",
"publishedDate":""
}
Message structure for a route released event:
{"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":[]}}
}
Message format for a material scrapped event:
{"kafkaConsumerId":"",
"publishedDate":"",
"materialLot":[{"lotIdentifier":"",
"productName":"",
"status":"",
"productionUnit":"",
"quantity":,
"productionLine":"",
"unitOfMeasure":"",
"properties":[{"propertyName":"",
"propertyValue":""},
{"propertyName":"",
"propertyValue":""},
{"propertyName":"","propertyValue":""},
{"propertyName":"","propertyValue":" "},
{"propertyName":"","propertyValue":""},
{"propertyName":"","propertyValue": ""}]}]}
Message format for a material lot status changed event:
{
"kafkaConsumerId": "00000172565c7e31-0242ac1200400000",
"publishedDate": "2020-05-27T11:25:36Z",
"materialLot": [
{
"lotIdentifier": "LOT-001",
"productName": "P002",
"status": "Complete",
"productionUnit": "Receiver (Test)",
"productionLine": "Received Material Lots (Test)",
"unitOfMeasure": "UN",
"properties": [
{
"propertyName": "statusUpdatedBy",
"propertyValue": "bm_operator_1"
},
{
"propertyName": "statusUpdatedTime",
"propertyValue": "2020-05-21T06:57:50Z"
},
{
"propertyName": "SCRAP",
"propertyValue": "5"
},
{
"propertyName": "RTV",
"propertyValue": "5"
},
{
"propertyName": "REWORK",
"propertyValue": "2"
},
{
"propertyName": "DIT",
"propertyValue": "3"
},
{
"propertyName": "ACCEPT",
"propertyValue": "25"
},
{
"propertyName": "TestStringProp",
"propertyValue": "WOProperty"
}
]
}
]
}