Create a BOM Item Definition

post

/rest/v16/bomItemSetups

Use this endpoint to create a BOM item definition.

Request

Supported Media Types
Body ()
Root Schema : BOM Item Setup Create Request Definitions
Type: object
Title: BOM Item Setup Create Request Definitions
Show Source
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : BOM Item Setup Instance Definitions
Type: object
Title: BOM Item Setup Instance Definitions
Show Source
Back to Top

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 -i -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" -H "Accept: application/json"
https://sitename.oracle.com/rest/v16/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/v16/bomItemSetups/SUB6"
    }, {
      "kind": "",
      "rel": "child",
      "name": "bomItemMappings",
      "href": "https://sitename.oracle.com/rest/v16/bomItemSetups/SUB6/bomItemMappings"
    }, {
      "kind": "",
      "rel": "child",
      "name": "children",
      "href": "https://sitename.oracle.com/rest/v16/bomItemSetups/SUB6/children"
    }
  ]
}
Back to Top