Auto-Generate Configuration Models

post

/rest/v19/bomItemSetups/actions/generateConfigurations

Use this endpoint to auto-generate configuration models in batch for all valid BOMs available in the BOM Item Definition table. New configuration models are based on the BOM structure. The first invocation generates and deploys configuration models for all valid BOMs. Subsequent invocations update the models by detecting new delta changes.

Request

Supported Media Types
Body ()
JSON payload containing deployFlag and reconstructBomMappings.
Root Schema : schema
Type: object
Request payload for deploying auto-generated models
Show Source
Back to Top

Response

Supported Media Types

200 Response

Successful response containing taskId.
Body ()
Root Schema : schema
Type: object
Response containing the generated task ID
Show Source
Back to Top

Examples

The following example shows how to auto-generate configuration models 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 "Content-type: application/json"
https://sitename.oracle.com/rest/v19/bomItemSetups/actions/generateConfigurations

Request Body Samples

{
  "deployFlag": true,
  "reconstructBomMappings": false
}

Response Body Sample

{"taskId": 12345}
Back to Top