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:
objectTitle:
Show Source
BOM Item Setup Children Instance Definitions-
bomPrice:
number
Title:
BOM PriceBOM Price -
defaultQuantity:
number
Title:
Default QuantityDefault quantity for the BOM item -
effectiveFrom:
string
Title:
Effective FromThe effective from date for the BOM item -
effectiveTo:
string
Title:
Effective ToThe effective to date for the BOM item -
isIncludedInBasePrice:
boolean
Title:
Is Included In Base PriceWhether the BOM item is included in the base price -
isManufacturingItem:
boolean
Title:
Is Manufacturing ItemWhether the BOM item is a manufacturing item -
isModel:
boolean
Title:
Is ModelWhether the BOM item is a model -
isOptional:
boolean
Title:
Is OptionalWhether the BOM item is optional -
isRootModel:
boolean
Title:
Is Root ModelWhether the BOM item is the root model -
isSalesItem:
boolean
Title:
Is Sales ItemWhether the BOM item is a sales item -
itemIdentifier:
string
Title:
Item IdentifierBOM item identifier -
itemType:
string
Title:
Item TypeBOM item type -
label:
string
Title:
LabelBOM item label -
modelPath:
string
Title:
Model PathThe path to a model in the BOM hierarchy -
parentVariableName:
string
Title:
Parent Variable NameVariable name of the parent BOM item. -
partNumber:
string
Title:
Part NumberPart number of the BOM item -
rootVariableName:
string
Title:
Root Variable NameVariable name of the root BOM item. -
sequenceNumber:
integer
Title:
Sequence NumberBOM item sequence number -
variableName:
string
Title:
Variable NameVariable 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"
}
]
}