POST

Post is supported.

All fields are supported.

 

Example

 

odata4/BillOfMaterial
 
{"BillOfMaterialId":"1111","Description":"Description of the Bill of Material"}

 

Additional properties

line: The Bill of Material lines

replace: true/false: Define, if Bill of material lines replaced or added. Default = true

 

odata4/BillOfMaterial
 
{"BillOfMaterialId":"1111","Description":"MyDescription","line": 
  [
   {"ItemCode":"RM","Input_Quantity":3.8,"LineNumber":10,"Input_Unit":"kg"}
  ]
}

 

If you want to add Lines, you must set "replace" to false

 

odata4/BillOfMaterial
 
{"BillOfMaterialId":"1111","replace":false, "Description":"MyDescription","line": 
  [
   {"ItemCode":"RM","Input_Quantity":3.8,"LineNumber":10,"Input_Unit":"kg"}
  ]
}

 

see item structure example