JSON Material Master Import Document (MMID)

A JSON material master import document (MMID) contains all the details of a material. The MMID constitutes the body of the HTTP POST request of the ERP Import service, which posts the material to Plant Applications.

Schema versions 1 and 2 are supported in an MMID.

Note:
From Release 8.1 onwards, GE supports Schema Version 2 to import products. For versions earlier than 8.1, use Schema Version 1.

JSON MMID Schema Version 4

Using schema version 4, you can import materials that are managed by an ECO process.


{
    "schemaVersion": 4,
    "storageZone": "Bikes_Assembly_Line",                            // storage zone, can be empty
    "storageUnit": "FrameMountingStation",                           // storage unit, can be empty
    "productionLines": [                                                             // production lines, can be empty
        "Bikes_Assembly_Line"
    ],
    "material": {
        "productCode": "Auto_Json_2837734",                          // material name
        "productDescription": "Descr-Wed Aug 231234",           // material description
        "productFamily": "AutoProductFamily",                        // material family name
        "isSerialized": true,                                                            //To create serialized and non serialized  product(true/false)
        "externalRevision": 32014,
        "isECOManaged": true,                                                    //Is ECO Managed or not product (true/false)
        "propertyValues": [                                                          // custom properties, can be empty    
            {
                "propertyName": "unitofmeasure",
                "propertyValue": "EA"
            },
            {
                "propertyName": "material-Int-Type",
                "propertyValue": "123"
            }
        ]
    }
}

JSON MMID Schema Version 3

Using schema version 3, you can import materials having an external revision number.
{
  "schemaVersion": 3,
  "productionLines": [
    "Line1"
  ],
  "storageZone": "StorageZone",
  "storageUnit": "StorageUnit",
  "material": {
    "productCode": "105D6043P008",
    "productDescription": "INDEX TUBE",
    "productFamily": "Capacitor",
    "propertyValues": [
      {
        "propertyName": "UNITOFMEASURE",
        "propertyValue": "EA"
      },
      {
        "propertyName": "REVISION_DATE",
        "propertyValue": "2/20/2016 11:52:44 AM"
      },
      {
        "propertyName": "ITEM_CREATION_DATE",
        "propertyValue": "2/19/2016 4:08:05 PM"
      },
      {
        "propertyName": "STORAGELOCATION",
        "propertyValue": "STK"
      },
      {
        "propertyName": "ITEM_DRAWING",
        "propertyValue": "[\"http://www/google.com/document1\", \"http://www/google.com/document2\"]"
      }
    ],
    "isSerialized": true
    "externalRevision": 2
  }
}

JSON MMID Schema Version 2

Using schema version 2, you can import materials for serialized as well as non-serialized products. Added new field e-Serialized.
{
  "schemaVersion": 2,
  "productionLines": [
    "Line1"
  ],
  "storageZone": "StorageZone",
  "storageUnit": "StorageUnit",
  "material": {
    "productCode": "105D6043P008",
    "productDescription": "INDEX TUBE",
    "productFamily": "Capacitor",
    "propertyValues": [
      {
        "propertyName": "UNITOFMEASURE",
        "propertyValue": "EA"
      },
      {
        "propertyName": "REVISION_DATE",
        "propertyValue": "2/20/2016 11:52:44 AM"
      },
      {
        "propertyName": "ITEM_CREATION_DATE",
        "propertyValue": "2/19/2016 4:08:05 PM"
      },
      {
        "propertyName": "STORAGELOCATION",
        "propertyValue": "STK"
      },
      {
        "propertyName": "ITEM_DRAWING",
        "propertyValue": "[\"http://www/google.com/document1\", \"http://www/google.com/document2\"]"
      }
    ],
    "isSerialized": true
  }
}

JSON MMID Schema Version 1

Using schema version 1, you can import only non-serialized products.
{
   "schemaVersion":1,
   "productionLines":[   ],     // production lines can be blank
   "storageZone": "",               // storage zone can be blank
   "storageUnit": "",               // storage unit can be blank
   "material":{
      "productFamily":"",
      "productCode":"",         // material name
      "productDescription":"",  // material description
      "propertyValues":[                    // custom properties can be blank
         {
            "propertyName":"",
            "propertyValue":""
         },
         {
            "propertyName":"",
            "propertyValue":""
         }
      ]
   }
}