Generate Configurator
post
                    /rest/v19/bomItemSetups/{bomItemVarName}/actions/generateConfigurator
Use this endpoint to create a simple configurator based on the BOM hierarchy setup. The auto-generator will create and deploy: a BOM mapping rule, configurable attributes corresponding to BOM items, and a configuration flow layout.
                
                Request
Supported Media Types
                - application/json
Path Parameters
                - 
                    bomItemVarName(required): string
                    
                    Variable Name of the BOM item
Root Schema : bomItemSetups-generateConfiguratorRequest
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        object- 
            defaultEffectiveFrom: 
            string
            Title:Default Effective from DateDefault Effective from Date for BOM item Configuration.
- 
            defaultEffectiveTo: 
            string
            Title:Default Effective to DateDefault Effective to Date for BOM item Configuration.
- 
            description: 
            string
            Title:DescriptionDescription for BOM item Configuration.
- 
            modelLabel: 
            string
            Title:Model NameModel name for BOM item Configuration.
- 
            modelVariableName: 
            string
            Title:Model Variable NameModel variable name for BOM item Configuration.
- 
            productFamilyLabel: 
            string
            Title:Product Family NameProduct Family name for BOM item Configuration.
- 
            productFamilyVariableName: 
            string
            Title:Product Family Variable NameProduct Family variable name for BOM item Configuration.
- 
            productLineLabel: 
            string
            Title:Product Line NameProduct Line name for BOM item Configuration.
- 
            productLineVariableName: 
            string
            Title:Product Line Variable NameProduct Line variable name for BOM item Configuration.
Response
Supported Media Types
                - application/json
Default Response
Root Schema : bomItemSetups-generateConfiguratorResponse
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
objectExamples
The following example shows how to create a simple configurator based on the BOM hierarchy setup 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/someModel/actions/generateConfigurator
Request Body Sample
{
  "productFamilyVariableName": "someProductFamily",
  "productFamilyLabel": "Some Product Family",
  "productLineVariableName": "someProductLine",
  "productLineLabel": "Some Product Line",
  "modelVariableName": "someModel",
  "modelLabel": "Some Model",
  "description": "A slightly longer paragraph with some text.",
  "defaultEffectiveFrom": "2023-10-30 00:00:00Z",
  "defaultEffectiveTo": "2024-10-30 12:00:00Z"
}Response Body Sample
{
  "items": []
}