Tc BOM Structure Create: Create new elements and structure based on JSON document

This example shows the input document that creates a BOM together with the parts it contains.

JSON input

This will create a new structure

[
  {
    "lineObject": {
      "object_name": "TopNode",
      "object_type": "Part"
    },
    "revisionRule": "Latest Working",
    "bomViewType": "view",
    "precise": false,
    "children": [
      {
        "lineObject": {
          "object_name": "SubNode#1",
          "object_type": "Part"
        },
        "lineData": {
          "bl_quantity": "1"
        }
      },
      {
        "lineObject": {
          "object_name": "SubNode#2",
          "object_type": "Part"
        },
        "lineData": {
          "bl_quantity": "1"
        }
      },
      {
        "lineObject": {
          "object_name": "SubNode#3",
          "object_type": "Part"
        },
        "lineData": {
          "bl_quantity": "1"
        }
      }
    ]
  }
]

TopNode |--SubNode#1 |--SubNode#2 |__SubNode#3