Get BOM Items

post

/rest/v16/config{prodFamVarName}.{prodLineVarName}.{modelVarName}/_bom/actions/getBomItems

This action retrieves the BOM Items of the configuration. This action does not run BOM Mapping rules.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : getBomItemsRequest
Type: object
Show Source
  • Title: Cache Instance Id
    The unique identifier for the entry of configuration data stored in the cache. This is obtained from actions that launch configuration and passed along in subsequent actions.
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : getBomItemsResponse
Type: object
Show Source
  • Title: Cache Instance Id
    The unique identifier for the entry of configuration data stored in the cache. This is obtained from actions that launch configuration and passed along in subsequent actions.
  • items
Nested Schema : items
Type: array
Show Source
Nested Schema : part
Type: object
Show Source
Nested Schema : Price
Type: object
Title: Price
Price
Show Source
Nested Schema : Price Period
Type: object
Title: Price Period
Show Source
Nested Schema : Price Type
Type: object
Title: Price Type
Show Source
Back to Top

Examples

The following example shows how to retrieve the BOM Items of a configuration by submitting a POST request to the REST resource using cURL.

curl -X POST -i -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" -H "Accept: application/json"
https://sitename.oracle.com/rest/v16/configvarioTablets.tablets.customTablet/_bom/actions/getBomItems

Request Body Sample

{
  "cacheInstanceId": "gsg21bMZ5kpGUWxDIZeGWQCLKbaad33Un1X8huVuDm0K3gAKMeXPbzeQcFsFBAzJ"
}
         

Response Body Sample

The following example shows the contents of the response body in JSON format:

{
  "cacheInstanceId": "gsg21bMZ5kpGUWxDIZeGWQCLKbaad33Un1X8huVuDm0K3gAKMeXPbzeQcFsFBAzJ",
  "items": [{
      "lead_time": "-1",
      "comment": "Custom Tablet",
      "price": {
        "value": "1000",
        "currency": "USD"
      },
      "part_number": "Custom Tablet",
      "description": "Custom Tablet",
      "quantity": 1,
      "company_associations": null
    }, {
      "leadTime": -1,
      "comment": "GS5004",
      "price": {
        "value": "1,000.00",
        "currency": "USD"
      },
      "partNumber": "GS5004",
      "description": "",
      "units": "",
      "directBuy": "Direct Buy",
      "quantity": 1,
      "_part_custom_field5": 0,
      "partDisplayNumber": "GS5004",
      "companyAssociations": ""
    }, {
      "leadTime": -1,
      "comment": "Quad Core 1.9 GHz",
      "price": {
        "value": "25.00",
        "currency": "USD"
      },
      "partNumber": "CPU-100M-19",
      "description": "Quad Core 1.9 GHz",
      "directBuy": "Direct Buy",
      "quantity": 1,
      "_part_custom_field8": {
        "value": "One Time",
        "displayValue": "One Time"
      },
      "_part_custom_field5": 20,
      "partDisplayNumber": "Quad Core 1.9 GHz",
      "companyAssociations": ""
    }, {
      "leadTime": -1,
      "comment": "4GB Memory",
      "price": {
        "value": "40.00",
        "currency": "USD"
      },
      "partNumber": "MEM-100M-4",
      "description": "4GB Memory",
      "directBuy": "Direct Buy",
      "quantity": 1,
      "_part_custom_field8": {
        "value": "One Time",
        "displayValue": "One Time"
      },
      "_part_custom_field5": 20,
      "partDisplayNumber": "4GB Memory",
      "companyAssociations": ""
    }, {
      "leadTime": -1,
      "comment": "64GB Storage",
      "price": {
        "value": "40.00",
        "currency": "USD"
      },
      "partNumber": "STOR-100M-64",
      "description": "64GB Storage",
      "directBuy": "Direct Buy",
      "quantity": 1,
      "_part_custom_field8": {
        "value": "One Time",
        "displayValue": "One Time"
      },
      "_part_custom_field5": 20,
      "partDisplayNumber": "64GB Storage",
      "companyAssociations": ""
    }, {
      "leadTime": -1,
      "comment": "WiFi 802.11 a/b/g/n/ac / Bluetooth / 4G LTE",
      "price": {
        "value": "40.00",
        "currency": "USD"
      },
      "partNumber": "NET-100M-2",
      "description": "WiFi 802.11 a/b/g/n/ac / Bluetooth / 4G LTE",
      "directBuy": "Direct Buy",
      "quantity": 1,
      "_part_custom_field8": {
        "value": "One Time",
        "displayValue": "One Time"
      },
      "_part_custom_field5": 20,
      "partDisplayNumber": "WiFi 802.11 a/b/g/n/ac / Bluetooth / 4G LTE",
      "companyAssociations": ""
    }, {
      "leadTime": -1,
      "comment": "Primary 8MP",
      "price": {
        "value": "20.00",
        "currency": "USD"
      },
      "partNumber": "CAM-100M-1",
      "description": "Primary 8MP",
      "directBuy": "Direct Buy",
      "quantity": 1,
      "_part_custom_field8": {
        "value": "One Time",
        "displayValue": "One Time"
      },
      "_part_custom_field5": 10,
      "partDisplayNumber": "Primary 8MP",
      "companyAssociations": ""
    }, {
      "leadTime": -1,
      "comment": "Battery 3.8V / 5200mAh",
      "price": {
        "value": "40.00",
        "currency": "USD"
      },
      "partNumber": "BATT-0380M-5200",
      "description": "Battery 3.8V / 5200mAh",
      "units": "",
      "directBuy": "Direct Buy",
      "quantity": 1,
      "_part_custom_field8": {
        "value": "One Time",
        "displayValue": "One Time"
      },
      "_part_custom_field5": 20,
      "partDisplayNumber": "Battery 3.8V / 5200mAh",
      "companyAssociations": ""
    }, {
      "leadTime": -1,
      "comment": "4GB Data Plan",
      "price": {
        "value": "40.00",
        "currency": "USD"
      },
      "partNumber": "DATA-100-4",
      "description": "4GB Data Plan",
      "units": "",
      "directBuy": "Direct Buy",
      "quantity": 1,
      "_part_custom_field4": {
        "value": "Per Month",
        "displayValue": "Per Month"
      },
      "_part_custom_field8": {
        "value": "Recurring",
        "displayValue": "Recurring"
      },
      "_part_custom_field5": 20,
      "partDisplayNumber": "4GB Data Plan",
      "companyAssociations": ""
    }, {
      "lead_time": "-1",
      "comment": "Tablet Support Services",
      "price": {
        "value": "40",
        "currency": "USD"
      },
      "part_number": "Tablet Support Services",
      "quantity": 1,
      "part_display_number": "Tablet Support Services",
      "company_associations": null
    }
  ]
}
Back to Top