Create a BOM Item Definition
post
                    /rest/v19/bomItemSetups
Use this endpoint to create a BOM item definition.
                
                Request
Supported Media Types
                - application/json
Root Schema : BOM Item Setup Create Request Definitions
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        BOM Item Setup Create Request Definitions- 
            bomPrice: 
            number
            Title:BOM PriceBOM Price
- 
            defaultQuantity: 
            number
            Title:Default QuantityDefault quantity for the BOM item
- 
            effectiveFrom: 
            string
            Title:Effective FromThe effective from date for the BOM item
- 
            effectiveTo: 
            string
            Title:Effective ToThe effective to date for the BOM item
- 
            isIncludedInBasePrice: 
            boolean
            Title:Is Included In Base PriceWhether the BOM item is included in the base price
- 
            isManufacturingItem: 
            boolean
            Title:Is Manufacturing ItemWhether the BOM item is a manufacturing item
- 
            isOptional: 
            boolean
            Title:Is OptionalWhether the BOM item is optional
- 
            isSalesItem: 
            boolean
            Title:Is Sales ItemWhether the BOM item is a sales item
- 
            itemIdentifier: 
            string
            Title:Item IdentifierBOM item identifier
- 
            itemType: 
            string
            Title:Item TypeBOM item type
- 
            label: 
            string
            Title:LabelBOM item label
- 
            maxSelectableItems: 
            string
            Title:Max Selectable ItemsMaximum number of selected optional items for this option class
- 
            minSelectableItems: 
            string
            Title:Min Selectable ItemsMinimum number of selected optional items for this option class
- 
            modelPath: 
            string
            Title:Model PathThe path to a model in the BOM hierarchy
- 
            parentVariableName: 
            string
            Title:Parent Variable NameVariable name of the parent BOM item.
- 
            partNumber: 
            string
            Title:Part NumberPart number of the BOM item
- 
            rootVariableName: 
            string
            Title:Root Variable NameVariable name of the root BOM item.
- 
            sequenceNumber: 
            integer
            Title:Sequence NumberBOM item sequence number
- 
            variableName: 
            string
            Title:Variable NameVariable Name of the BOM item
Response
Supported Media Types
                - application/json
Default Response
Root Schema : BOM Item Setup Instance Definitions
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        BOM Item Setup Instance Definitions- 
            bomPrice: 
            number
            Title:BOM PriceBOM Price
- 
            configurableFlag: 
            boolean
            Title:Configurable FlagWhether the BOM item tree is configurable
- 
            defaultQuantity: 
            number
            Title:Default QuantityDefault quantity for the BOM item
- 
            effectiveFrom: 
            string
            Title:Effective FromThe effective from date for the BOM item
- 
            effectiveTo: 
            string
            Title:Effective ToThe effective to date for the BOM item
- 
            isIncludedInBasePrice: 
            boolean
            Title:Is Included In Base PriceWhether the BOM item is included in the base price
- 
            isManufacturingItem: 
            boolean
            Title:Is Manufacturing ItemWhether the BOM item is a manufacturing item
- 
            isModel: 
            boolean
            Title:Is ModelWhether the BOM item is a model
- 
            isOptional: 
            boolean
            Title:Is OptionalWhether the BOM item is optional
- 
            isRootModel: 
            boolean
            Title:Is Root ModelWhether the BOM item is the root model
- 
            isSalesItem: 
            boolean
            Title:Is Sales ItemWhether the BOM item is a sales item
- 
            itemIdentifier: 
            string
            Title:Item IdentifierBOM item identifier
- 
            itemType: 
            string
            Title:Item TypeBOM item type
- 
            label: 
            string
            Title:LabelBOM item label
- 
            maxSelectableItems: 
            string
            Title:Max Selectable ItemsMaximum number of selected optional items for this option class
- 
            minSelectableItems: 
            string
            Title:Min Selectable ItemsMinimum number of selected optional items for this option class
- 
            modelPath: 
            string
            Title:Model PathThe path to a model in the BOM hierarchy
- 
            parentVariableName: 
            string
            Title:Parent Variable NameVariable name of the parent BOM item.
- 
            partNumber: 
            string
            Title:Part NumberPart number of the BOM item
- 
            rootBomItemLabel: 
            string
            Title:Root BOM Item LabelLabel of the Root BOM Item of this item's hierarchy
- 
            rootBomItemPartNumber: 
            string
            Title:Root BOM Item Part NumberPart Number value from the Root BOM Item
- 
            rootVariableName: 
            string
            Title:Root Variable NameVariable name of the root BOM item.
- 
            sequenceNumber: 
            integer
            Title:Sequence NumberBOM item sequence number
- 
            treeHasError: 
            boolean
            Title:Tree Has ErrorWhether the BOM item tree has an item with errors
- 
            treeHasModel: 
            boolean
            Title:Tree Has ModelWhether the BOM item tree has a model
- 
            variableName: 
            string
            Title:Variable NameVariable Name of the BOM item
Examples
The following example shows how to create a BOM item definition by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl -X POST -H "Authorization: Bearer <token>" -H "Accept: application/json" https://sitename.oracle.com/rest/v19/bomItemSetups
Request Body Sample
{
  "isManufacturingItem": false,
  "parentVariableName": "VEHICLE",
  "sequenceNumber": 20,
  "isIncludedInBasePrice": false,
  "itemType": "Standard Item",
  "variableName": "SUB6",
  "modelPath": null,
  "bomPrice": 0.0,
  "isSalesItem": true,
  "isOptional": false,
  "label": "Hybrid SUV Subscription",
  "defaultQuantity": 1.0,
  "isRootModel": false,
  "effectiveTo": null,
  "rootVariableName": "VEHICLE",
  "partNumber": "Hybrid SUV Subscription",
  "itemIdentifier": "20",
  "effectiveFrom": null
}
Response Body Sample
{
  "isManufacturingItem": false,
  "parentVariableName": "VEHICLE",
  "sequenceNumber": 20,
  "isIncludedInBasePrice": false,
  "itemType": "Standard Item",
  "variableName": "SUB6",
  "modelPath": null,
  "bomPrice": 0.0,
  "isSalesItem": true,
  "isOptional": true,
  "label": "Hybrid SUV Subscription",
  "rootBomItemPartNumber": "VEHICLE",
  "defaultQuantity": 1.0,
  "isRootModel": false,
  "effectiveTo": null,
  "rootBomItemLabel": "Consumer Vehicle",
  "rootVariableName": "VEHICLE",
  "partNumber": "Hybrid SUV Subscription",
  "itemIdentifier": "20",
  "effectiveFrom": null,
  "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v19/bomItemSetups/SUB6"
    }, {
      "kind": "",
      "rel": "child",
      "name": "bomItemMappings",
      "href": "https://sitename.oracle.com/rest/v19/bomItemSetups/SUB6/bomItemMappings"
    }, {
      "kind": "",
      "rel": "child",
      "name": "children",
      "href": "https://sitename.oracle.com/rest/v19/bomItemSetups/SUB6/children"
    }
  ]
}