Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

JSON Schema

OpenAPI Spec (POST)

OpenAPI Spec (GET)

Sample Payload

{
  "wipStatus": {
    "identifier": "5362e749-7097-4b79-9cd5-99ad4af1fcef",
    "lastModificationDateTime": "2020-07-01T09:35:00-05:00",
    "description": "Mixer #7",
    "note": "NA",
    "attachment": [
      {
        "typeCode": "Plant Flow",
        "identifier": "20163-F02-1 (UR)",
        "uri": "https://documentrepo.smallsupplierA.com/design/20163-F02-1(UR).pdf",
        "fileName": "20163-F02-1(UR).pdf"
      }
    ],
    "status": {
      "code": "MixerLoaded",
      "description": "MixerLoaded",
      "reasonCode": "NA",
      "reason": "NA"
    },
    "productionOrderReference": {
      "identifier": "cbb414fd-04e2-4b29-8df9-e422ef8e1744"
    },
    "itemInstance": {
      "typeCode": "SKU",
      "identifier": "1213579",
      "lot": {
        "typeCode": "Batch",
        "identifier": "cbb414fd-04e2-4b29-8df9-e422ef8e1744"
      },
      "description": "Custom Feed Blend - Derived from Milk Max Plus Basic"
    },
    "quantity": {
      "content": 1800,
      "typeCode": "ActualProduced",
      "unitCode": "LB"
    },
    "typeCode": "Operation",
    "dueDateTime": "2020-08-01T09:35:00-05:00",
    "dueQuantity": {
      "content": 1800,
      "unitCode": "LBS"
    },
    "operation": [
      {
        "identifier": "1234",
        "lastModificationDateTime": "2020-07-01T09:34:35.012-05:00",
        "description": "Mixer 7",
        "note": "Complete",
        "issuedItemInstance": [
          {
            "identifier": "23",
            "lot": {
              "identifier": "L3433"
            },
            "quantity": {
              "content": 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,
          "unitCode": "LB"
        },
        "batchSizeQuantity": {
          "content": 1800,
          "unitCode": "LB"
        },
        "perishedInOperationQuantity": {
          "content": 0,
          "typeCode": "Flush",
          "unitCode": "LB"
        },
        "perishedBetweenOperationsQuantity": {
          "content": 100,
          "unitCode": "LB"
        },
        "setupTimeDuration": {
          "content": "5",
          "typeCode": "MIN"
        },
        "waitTimeDuration": {
          "content": "2",
          "typeCode": "MIN"
        },
        "runTimeDuration": {
          "content": "12",
          "typeCode": "MIN"
        },
        "tearDownDuration": {
          "content": "5",
          "typeCode": "MIN"
        },
        "queueDuration": {
          "content": "15",
          "typeCode": "MIN"
        },
        "rejectPercent": {
          "content": 0,
          "typeCode": "Percent"
        },
        "siteLocation": {
          "identifier": "575757",
          "name": "Mixer 7"
        },
        "trackingIndicator": true,
        "results": [
          {
            "typeCode": "Sensor",
            "quantitative": [
              {
                "name": "Facility Temperature",
                "uomCode": "Fahrenheit",
                "measurement": [
                  {
                    "dateTime": "2021-06-30T15:40:01.702Z",
                    "measure": 67.4
                  }
                ]
              }
            ]
          }
        ]
      }
    ]
  }
}


  • No labels