Generate Configurator

post

/rest/v16/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
Path Parameters
Body ()
Root Schema : bomItemSetups-generateConfiguratorRequest
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : bomItemSetups-generateConfiguratorResponse
Type: object
Back to Top

Examples

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 -i -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" -H "Accept: application/json"
https://sitename.oracle.com/rest/v16/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": []
}
Back to Top