...
OpenAPI Spec (GET)
Sample Payload
Code Block |
---|
{
"wipStatus": {
"identifier": "1234",
"lastModificationDateTime": "2020-07-01T09:35:00-05:00",
"description": "Checking milling operation",
"note": "Standard critical equipment check",
"attachment": [
{
"typeCode": "MES STEP Document",
"identifier": "MES1234",
"uri": "https://documentrepo.AcmeCorp.com/reference/MES/STEP/1234/MES-STEP1234.step",
"fileName": "MES-STEP1234.step"
}
],
"status": {
"code": "Down",
"description": "Cannot operate",
"reasonCode": "4321",
"reason": "Milling bit inaccuracy"
},
"productionOrderReference": {
"identifier": "cbb414fd-04e2-4b29-8df9-e422ef8e1744"
},
"itemInstance": [
{
"typeCode": "SKU",
"identifier": "1213579",
"lot": [
{
"typeCode": "Batch",
"identifier": "96390c0d-56e8-4a45-8e66-5beebb0d6c01"
}
],
"description": "Custom Feed Blend - Derived from Milk Max Plus Basic"
}
],
"quantity": {
"content": 1800,
"typeCode": "ActualProduced",
"unitCode": "LB"
},
"typeCode": "Real-time Verification",
"dueDateTime": "2020-08-01T09:35:00-05:00",
"dueQuantity": {
"content": 1800,
"unitCode": "LBS"
},
"operation": [
{
"identifier": "1234",
"lastModificationDateTime": "string",
"description": "string",
"note": "string",
"issuedItemInstance": [
{
"identifier": "string",
"lot": {
"identifier": [
"string",
"L3433"
]
},
"quantity": {
"content": "string",
"unitCode": "LBS"
},
"description": "Vitamin E",
"packaging": {
"typeCode": "Pallet",
"identifier": "1235446"
}
}
],
"costTypeCode": {
"content": "12",
"typeCode": "Procurement"
},
"processCode": {
"content": "Mixing",
"typeCode": "Milling Bit Verification"
},
"rejectedQuantity": {
"content": 0,
"typeCode": "Rejection",
"unitCode": "LBS"
},
"batchSizeQuantity": {
"content": 1800,
"typeCode": "Mixing",
"unitCode": "LBS"
},
"perishedInOperationQuantity": {
"content": 0,
"typeCode": "Unsalvageable",
"unitCode": "LBS"
},
"perishedBetweenOperationsQuantity": {
"content": 0,
"unitCode": "LBS"
},
"setupTimeDuration": {
"content": "20",
"typeCode": "Actual Minutes"
},
"waitTimeDuration": {
"content": "2",
"typeCode": "Actual Minutes"
},
"runTimeDuration": {
"content": "20",
"typeCode": "Actual Minutes"
},
"tearDownDuration": {
"content": "5",
"typeCode": "Actual Minutes"
},
"rejectPercent": {
"content": 0,
"typeCode": "Percent"
},
"siteLocation": {
"identifier": "575757",
"name": "string"
},
"trackingIndicator": [
true
],
"qualifiedResource": {
"actualResources": {
"laborActual": [
{
"unitCost": {
"unitAmount": {
"content": "string",
"currencyCode": "USD"
}
},
"quantity": {
"content": "string",
"unitCode": "HRS"
},
"totalCostAmount": 0
}
],
"machineActual": [
{
"typeCode": "Machine Position",
"identifier": [
"8766"
],
"unitCost": {
"unitAmount": {
"content": 10,
"currencyCode": "PER HR"
}
},
"quantity": [
{
"content": "string",
"unitCode": "HRS"
}
],
"totalCostAmount": 7.5
}
]
}
},
"results": [
{
"typeCode": "Sensor",
"quantitative": [
{
"name": "Facility Temperature",
"uomCode": "Fahrenheit",
"measurement": [
{
"dateTime": "2021-05-12T21:17:52.320Z",
"measure": 67.4
}
]
}
]
}
]
}
]
}
}
|