Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

JSON Schema

View file
nameWIP-Status-oagis-id-a2ff15abcc9a4298bc44d0fb84101673.json

OpenAPI Spec (POST)

View file
nameWIP-Status-oagis-id-a2ff15abcc9a4298bc44d0fb84101673.yml

OpenAPI Spec (GET)

Sample Payload

Code Block
{
  "wipStatus": {
    "identifier": "12345362e749-7097-4b79-9cd5-99ad4af1fcef",
    "lastModificationDateTime": "2020-07-01T09:35:00-05:00",
    "description": "CheckingMixer milling operation#7",
    "note": "Standard critical equipment checkNA",
    "attachment": [
      {
        "typeCode": "MESPlant STEP DocumentFlow",
        "identifier": "MES123420163-F02-1 (UR)",
        "uri": "https://documentrepo.AcmeCorpsmallsupplierA.com/reference/MES/STEP/1234/MES-STEP1234.stepdesign/20163-F02-1(UR).pdf",
        "fileName": "MES-STEP1234.step20163-F02-1(UR).pdf"
      }
    ],
    "status": {
      "code": "DownMixerLoaded",
      "description": "Cannot operateMixerLoaded",
      "reasonCode": "4321NA",
      "reason": "Milling bit inaccuracyNA"
    },
    "productionOrderReference": {
      "identifier": "cbb414fd-04e2-4b29-8df9-e422ef8e1744"
    },
    "itemInstance": [
      {
 
      "typeCode": "SKU",
        "identifier": "1213579",
        "lot": [
          {
 
          "typeCode": "Batch",
   
        "identifier": "96390c0dcbb414fd-56e804e2-4a454b29-8e668df9-5beebb0d6c01e422ef8e1744"
   
      }
        ],
        "description": "Custom Feed Blend - Derived from Milk Max Plus Basic"
      }
    ],
    "quantity": {
      "content": 1800,
      "typeCode": "ActualProduced",
      "unitCode": "LB"
    },
    "typeCode": "Real-time VerificationOperation",
    "dueDateTime": "2020-08-01T09:35:00-05:00",
    "dueQuantity": {
      "content": 1800,
      "unitCode": "LBS"
    },
    "operation": [
      {
        "identifier": "1234",
        "lastModificationDateTime": "string2020-07-01T09:34:35.012-05:00",
        "description": "stringMixer 7",
        "note": "stringComplete",
        "issuedItemInstance": [
          {
            "identifier": "string23",
            "lot": {
              "identifier": [
                "string",
                "L3433"
              ]
            },
            "quantity": {
              "content": "string"1200,
              "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": "LBSLB"
        },
        "batchSizeQuantity": {
          "content": 1800,
          "typeCode": "Mixing",
          "unitCode": "LBSLB"
        },
        "perishedInOperationQuantity": {
          "content": 0,
          "typeCode": "UnsalvageableFlush",
          "unitCode": "LBSLB"
        },
        "perishedBetweenOperationsQuantity": {
          "content": 0100,
          "unitCode": "LBSLB"
        },
        "setupTimeDuration": {
          "content": "205",
          "typeCode": "Actual MinutesMIN"
        },
        "waitTimeDuration": {
          "content": "2",
          "typeCode": "Actual MinutesMIN"
        },
        "runTimeDuration": {
          "content": "2012",
          "typeCode": "Actual MinutesMIN"
        },
        "tearDownDuration": {
          "content": "5",
          "typeCode": "Actual MinutesMIN"
        },
        "rejectPercentqueueDuration": {
          "content": 0,
          "typeCode": "Percent"
        },
        "siteLocation": {15",
          "identifiertypeCode": "575757MIN",
          "name": "string"
        },
        "trackingIndicatorrejectPercent": [
          true
        ],
        "qualifiedResource": {
          "actualResources": {
            "laborActual": [
              {
                "unitCost": {
                  "unitAmount": {
                    "content": "string"0,
                    "currencyCode"typeCode": "USDPercent"
   
              }
                },
       
        "quantitysiteLocation": {
                  "content": "string",
       
          "unitCode": "HRS"
                },
                "totalCostAmount": 0
              }
            ],
            "machineActual": [
              {
                "typeCode": "Machine Position",
                "identifier": [
                  "8766"
                ]"575757",
                "unitCost"name": {
                  "unitAmount": {
                    "content": 10,
                    "currencyCode": "PER HR"
                  }
      "Mixer 7"
         },
                "quantity": [
                  {
                    "content": "string",
                    "unitCode": "HRS"
                  }
                ],
                "totalCostAmount": 7.5
              }
            ]
          }
        }"trackingIndicator": true,
        "results": [
          {
            "typeCode": "Sensor",
            "quantitative": [
              {
                "name": "Facility Temperature",
                "uomCode": "Fahrenheit",
                "measurement": [
                  {
                    "dateTime": "2021-0506-12T2130T15:1740:5201.320Z702Z",
                    "measure": 67.4
                  }
                ]
              }
            ]
          }
        ]
      }
    ]
  }
}