Upsert BOM Item List
post
                    /rest/v19/bomItemSetups/actions/upsertBomItemList
Use this endpoint create, update, or delete CPQ BOM hierarchies. This endpoint uses a list format, instead of the hierarchical JSON format.
                
                Request
Supported Media Types
                - application/json
Root Schema : BOM Item Setup Upsert BOM Item Tree Collection Request Definitions
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        BOM Item Setup Upsert BOM Item Tree Collection Request Definitions- 
            documents: 
            object  BOM Item List BOM Item Request Definitions
            
            Title:BOM Item List BOM Item Request DefinitionsBOM Item definition for BOM item list upsert requests
Nested Schema : BOM Item List BOM Item Request Definitions
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    BOM Item List BOM Item Request DefinitionsBOM Item definition for BOM item list upsert requests
    
    
    
    
    Show Source
        - 
            bomItems: 
            object  BOM Item List BOM Item Request Collection Definitions
            
            Title:BOM Item List BOM Item Request Collection DefinitionsBOM Item collection definition for BOM item list upsert requests
- 
            deleteMissingItems: 
            boolean
            Title:Delete Missing ItemsWhether BOM Items and Bom Item Mappings not included in the payload should be deleted.
Nested Schema : BOM Item List BOM Item Request Collection Definitions
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    BOM Item List BOM Item Request Collection DefinitionsBOM Item collection definition for BOM item list upsert requests
    
    
    
    
    Show Source
        
        
    
    
    
    
    
    
    
Nested Schema : items
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        array- 
            Array of: 
                object  BOM Item List BOM Item Upsert Request Instance Definitions
            
            Title:BOM Item List BOM Item Upsert Request Instance DefinitionsBOM item instance definition for BOM item list upsert requests
Nested Schema : BOM Item List BOM Item Upsert Request Instance Definitions
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    BOM Item List BOM Item Upsert Request Instance DefinitionsBOM item instance definition for BOM item list upsert requests
    
    
    
    
    Show Source
        - 
            bomItemMappings: 
            object  BOM Item List BOM Item Mapping Request Collection Definitions
            
            Title:BOM Item List BOM Item Mapping Request Collection DefinitionsBOM item mapping collection definition for BOM item list upsert requests
- 
            bomPrice: 
            number
            Title:BOM PriceBOM Price
- 
            defaultQuantity: 
            number
            Title:Default QuantityDefault quantity for the BOM item
- 
            effectiveFrom: 
            string(date)
            Title:Effective FromThe effective from date for the BOM item
- 
            effectiveTo: 
            string(date)
            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
- 
            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
Nested Schema : BOM Item List BOM Item Mapping Request Collection Definitions
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    BOM Item List BOM Item Mapping Request Collection DefinitionsBOM item mapping collection definition for BOM item list upsert requests
    
    
    
    
    Show Source
        
        
    
    
    
    
    
    
    
Nested Schema : items
    
      
      Type: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        array- 
            Array of: 
                object  BOM Item List BOM Item Mapping Request Instance Definitions
            
            Title:BOM Item List BOM Item Mapping Request Instance DefinitionsBOM item mapping instance definition for BOM item list upsert requests
Nested Schema : BOM Item List BOM Item Mapping Request Instance Definitions
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    BOM Item List BOM Item Mapping Request Instance DefinitionsBOM item mapping instance definition for BOM item list upsert requests
    
    
    
    
    Show Source
        - 
            additionalConfigurationAttributeValue1: 
            string
            Title:Additional Configuration Attribute Value 1The value of the first additional configurable attribute in multiple attribute mapping
- 
            additionalConfigurationAttributeValue10: 
            string
            Title:Additional Configuration Attribute Value 10The value of the tenth additional configurable attribute in multiple attribute mapping
- 
            additionalConfigurationAttributeValue2: 
            string
            Title:Additional Configuration Attribute Value 2The value of the second additional configurable attribute in multiple attribute mapping
- 
            additionalConfigurationAttributeValue3: 
            string
            Title:Additional Configuration Attribute Value 3The value of the third additional configurable attribute in multiple attribute mapping
- 
            additionalConfigurationAttributeValue4: 
            string
            Title:Additional Configuration Attribute Value 4The value of the fourth additional configurable attribute in multiple attribute mapping
- 
            additionalConfigurationAttributeValue5: 
            string
            Title:Additional Configuration Attribute Value 5The value of the fifth additional configurable attribute in multiple attribute mapping
- 
            additionalConfigurationAttributeValue6: 
            string
            Title:Additional Configuration Attribute Value 6The value of the sixth additional configurable attribute in multiple attribute mapping
- 
            additionalConfigurationAttributeValue7: 
            string
            Title:Additional Configuration Attribute Value 7The value of the seventh additional configurable attribute in multiple attribute mapping
- 
            additionalConfigurationAttributeValue8: 
            string
            Title:Additional Configuration Attribute Value 8The value of the eighth additional configurable attribute in multiple attribute mapping
- 
            additionalConfigurationAttributeValue9: 
            string
            Title:Additional Configuration Attribute Value 9The value of the ninth additional configurable attribute in multiple attribute mapping
- 
            additionalConfigurationAttributeVariableName1: 
            string
            Title:Additional Configuration Attribute Variable Name 1The variable name of the first additional configurable attribute in multiple attribute mapping
- 
            additionalConfigurationAttributeVariableName10: 
            string
            Title:Additional Configuration Attribute Variable Name 10The variable name of the tenth additional configurable attribute in multiple attribute mapping
- 
            additionalConfigurationAttributeVariableName2: 
            string
            Title:Additional Configuration Attribute Variable Name 2The variable name of the second additional configurable attribute in multiple attribute mapping
- 
            additionalConfigurationAttributeVariableName3: 
            string
            Title:Additional Configuration Attribute Variable Name 3The variable name of the third additional configurable attribute in multiple attribute mapping
- 
            additionalConfigurationAttributeVariableName4: 
            string
            Title:Additional Configuration Attribute Variable Name 4The variable name of the fourth additional configurable attribute in multiple attribute mapping
- 
            additionalConfigurationAttributeVariableName5: 
            string
            Title:Additional Configuration Attribute Variable Name 5The variable name of the fifth additional configurable attribute in multiple attribute mapping
- 
            additionalConfigurationAttributeVariableName6: 
            string
            Title:Additional Configuration Attribute Variable Name 6The variable name of the sixth additional configurable attribute in multiple attribute mapping
- 
            additionalConfigurationAttributeVariableName7: 
            string
            Title:Additional Configuration Attribute Variable Name 7The variable name of the seventh additional configurable attribute in multiple attribute mapping
- 
            additionalConfigurationAttributeVariableName8: 
            string
            Title:Additional Configuration Attribute Variable Name 8The variable name of the eighth additional configurable attribute in multiple attribute mapping
- 
            additionalConfigurationAttributeVariableName9: 
            string
            Title:Additional Configuration Attribute Variable Name 9The variable name of the ninth additional configurable attribute in multiple attribute mapping
- 
            bomItemVariableName: 
            string
            Title:BOM Item Variable NameThe variable name of the BOM item
- 
            configurationAttributeValue: 
            string
            Title:Configuration Attribute ValueThe value of the configurable attribute
- 
            configurationAttributeVariableName: 
            string
            Title:Configuration Attribute Variable NameThe variable name of the configurable attribute
- 
            effectiveFrom: 
            string(date)
            Title:Effective FromThe effective from date for the BOM item
- 
            effectiveTo: 
            string(date)
            Title:Effective ToThe effective to date for the BOM item
- 
            parentBOMMappingRuleVariableName: 
            string
            Title:Parent BOM Mapping Rule Variable NameThe variable name of the BOM Map configuration rule
- 
            variableName: 
            string
            Title:Variable NameVariable Name of the BOM item
Response
Supported Media Types
                - application/json
Default Response
Root Schema : BOM Item Setup Upsert BOM Item Tree Collection Response Definitions
    
      Type: 
      
    
    
    
    objectTitle: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
BOM Item Setup Upsert BOM Item Tree Collection Response DefinitionsExamples
The following examples show how to Use this endpoint create, update, or delete CPQ BOM hierarchies by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL. This endpoint uses a list format, instead of the hierarchical JSON format.
curl - X POST -H "Authorization: Bearer <token>" -H "Prefer: respond-async" - H "Content-type: application/json" https://sitename.oracle.com/rest/v19/bomItemSetups/actions/upsertMomItemList
Request Body Sample
{
   "documents":{
      "deleteMissingItems":true,
      "bomItem":{
         "items":[// entries can be in any order
            {
               "<root bom>"
            },
            {
               "<child bom>"
            }
         ]
      }
   }
}Response Body Sample
{
  "links": [{
      "rel": "self",
      "href": "http://sitename.oracle.com/rest/v19/bomItemSetups/actions/upsertBomItemList"
    }, {
      "rel": "related",
      "href": "http://sitename.oracle.com/rest/v19/asyncTasks/3022899700/status"
    }
  ]
}Get Async Task Status Examples
URI Endpoint Sample
http://sitename.oracle.com/rest/v19/asyncTasks/3022899700/status
Sample In Progress Task Response Body
{
  "progress": "processing",
  "links": [{
      "rel": "self",
      "href": "http://sitename.oracle.com/rest/v19/asyncTasks/3022899700/status"
    }
  ],
  "completed": false,
  "requestStatus": "202"
}Sample Completed Task Response Body
{
  "progress": "succeeded",
  "links": [{
      "rel": "related",
      "href": "http://sitename.oracle.com/rest/v14/asyncTasks/3022899700/response"
    }, {
      "rel": "self",
      "href": "http://sitename.oracle.com/rest/v14/asyncTasks/3022899700/status"
    }
  ],
  "completed": true,
  "requestStatus": 200
}