Get a BOM Item Child Definition for a Parent BOM Item
get
/rest/v19/bomItemSetups/{bomItemVarName}/children/{childVarName}
Use this endpoint the specified BOM item child definition for a parent BOM item.
Request
Supported Media Types
- application/json
Path Parameters
-
bomItemVarName(required): string
Variable Name of the BOM item
-
childVarName(required): string
Variable Name of the BOM item children
Response
Supported Media Types
- application/json
Default Response
Root Schema : BOM Item Setup Children Instance Definitions
Type:
object
Title:
Show Source
BOM Item Setup Children Instance Definitions
-
bomPrice:
number
Title:
BOM Price
BOM Price -
defaultQuantity:
number
Title:
Default Quantity
Default quantity for the BOM item -
effectiveFrom:
string
Title:
Effective From
The effective from date for the BOM item -
effectiveTo:
string
Title:
Effective To
The effective to date for the BOM item -
isIncludedInBasePrice:
boolean
Title:
Is Included In Base Price
Whether the BOM item is included in the base price -
isManufacturingItem:
boolean
Title:
Is Manufacturing Item
Whether the BOM item is a manufacturing item -
isModel:
boolean
Title:
Is Model
Whether the BOM item is a model -
isOptional:
boolean
Title:
Is Optional
Whether the BOM item is optional -
isRootModel:
boolean
Title:
Is Root Model
Whether the BOM item is the root model -
isSalesItem:
boolean
Title:
Is Sales Item
Whether the BOM item is a sales item -
itemIdentifier:
string
Title:
Item Identifier
BOM item identifier -
itemType:
string
Title:
Item Type
BOM item type -
label:
string
Title:
Label
BOM item label -
modelPath:
string
Title:
Model Path
The path to a model in the BOM hierarchy -
parentVariableName:
string
Title:
Parent Variable Name
Variable name of the parent BOM item. -
partNumber:
string
Title:
Part Number
Part number of the BOM item -
rootVariableName:
string
Title:
Root Variable Name
Variable name of the root BOM item. -
sequenceNumber:
integer
Title:
Sequence Number
BOM item sequence number -
variableName:
string
Title:
Variable Name
Variable Name of the BOM item children
Examples
The following example shows how to retrieve the specified BOM item child by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl -X GET -H "Authorization: Bearer <token>" -H "Accept: application/json" https://sitename.oracle.com/rest/v19/bomItemSetups/VEHICLE/children/SUB2
Response Body Sample
{ "isManufacturingItem": false, "parentVariableName": "VEHICLE", "sequenceNumber": 2, "isIncludedInBasePrice": false, "itemType": "Standard Item", "variableName": "SUB2", "modelPath": null, "bomPrice": 0.0, "isSalesItem": true, "isOptional": false, "label": "Sports SUV Subscription", "defaultQuantity": 1.0, "isRootModel": false, "effectiveTo": null, "rootVariableName": "VEHICLE", "partNumber": "Sports SUV Subscription", "itemIdentifier": "2", "effectiveFrom": null, "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v19/bomItemSetups/VEHICLE/children/SUB2" }, { "rel": "parent", "href": "https://sitename.oracle.com/rest/v19/bomItemSetups/VEHICLE" } ] }