Get All BOM Item Mappings for a Parent BOM Item
get
/rest/v19/bomItemSetups/{bomItemVarName}/bomItemMappings
Use this endpoint to retrieve a list of BOM item mappings for a parent BOM item.
Request
Supported Media Types
- application/json
Path Parameters
-
bomItemVarName(required): string
Variable Name of the BOM item
Query Parameters
-
fields: string
Restrict which fields shall be returned. The value is a comma delimited string and each token is a field name.
-
limit: integer
The requested page size, which limits the number of elements the collection should max return.
-
offset: integer
The offset of the page. By default, offset is 0, which means first page will be returned.
-
orderby: string
Specifies a comma-separated list of pairs to order the response by.
-
q: string
Allows to specify one or more filtering criteria. By default, no filtering is applied.
-
totalResults: boolean
Specifies that the total count of records should be included in the response when doing pagination.
Response
Supported Media Types
- application/json
Default Response
Root Schema : BOM Item Mapping Setup Collection Definitions
Type:
objectTitle:
Show Source
BOM Item Mapping Setup Collection Definitions-
count:
integer
The number of resource instances returned in the current range.
-
hasMore:
boolean
Returns true if more resources are available on the server than the subset returned in current page.
-
items:
array items
-
limit:
integer
The actual paging size used by the server.
-
offset:
integer
The offset used in the current page.
-
totalResults:
integer
Capture the total count of the resource instances, which not only includes the instances in the current range, but all instances on the server that satisfy the request.
Nested Schema : items
Type:
Show Source
array-
Array of:
object BOM Item Mapping Setup Instance Definitions
Title:
BOM Item Mapping Setup Instance Definitions
Nested Schema : BOM Item Mapping Setup Instance Definitions
Type:
objectTitle:
Show Source
BOM Item Mapping Setup Instance Definitions-
additionalConfigurationAttributeValue1:
string
Title:
Additional Configuration Attribute Value 1The value of the first additional configurable attribute in multiple attribute mapping -
additionalConfigurationAttributeValue10:
string
Title:
Additional Configuration Attribute Value 10The value of the tenth additional configurable attribute in multiple attribute mapping -
additionalConfigurationAttributeValue2:
string
Title:
Additional Configuration Attribute Value 2The value of the second additional configurable attribute in multiple attribute mapping -
additionalConfigurationAttributeValue3:
string
Title:
Additional Configuration Attribute Value 3The value of the third additional configurable attribute in multiple attribute mapping -
additionalConfigurationAttributeValue4:
string
Title:
Additional Configuration Attribute Value 4The value of the fourth additional configurable attribute in multiple attribute mapping -
additionalConfigurationAttributeValue5:
string
Title:
Additional Configuration Attribute Value 5The value of the fifth additional configurable attribute in multiple attribute mapping -
additionalConfigurationAttributeValue6:
string
Title:
Additional Configuration Attribute Value 6The value of the sixth additional configurable attribute in multiple attribute mapping -
additionalConfigurationAttributeValue7:
string
Title:
Additional Configuration Attribute Value 7The value of the seventh additional configurable attribute in multiple attribute mapping -
additionalConfigurationAttributeValue8:
string
Title:
Additional Configuration Attribute Value 8The value of the eighth additional configurable attribute in multiple attribute mapping -
additionalConfigurationAttributeValue9:
string
Title:
Additional Configuration Attribute Value 9The value of the ninth additional configurable attribute in multiple attribute mapping -
additionalConfigurationAttributeVariableName1:
string
Title:
Additional Configuration Attribute Variable Name 1The variable name of the first additional configurable attribute in multiple attribute mapping -
additionalConfigurationAttributeVariableName10:
string
Title:
Additional Configuration Attribute Variable Name 10The variable name of the tenth additional configurable attribute in multiple attribute mapping -
additionalConfigurationAttributeVariableName2:
string
Title:
Additional Configuration Attribute Variable Name 2The variable name of the second additional configurable attribute in multiple attribute mapping -
additionalConfigurationAttributeVariableName3:
string
Title:
Additional Configuration Attribute Variable Name 3The variable name of the third additional configurable attribute in multiple attribute mapping -
additionalConfigurationAttributeVariableName4:
string
Title:
Additional Configuration Attribute Variable Name 4The variable name of the fourth additional configurable attribute in multiple attribute mapping -
additionalConfigurationAttributeVariableName5:
string
Title:
Additional Configuration Attribute Variable Name 5The variable name of the fifth additional configurable attribute in multiple attribute mapping -
additionalConfigurationAttributeVariableName6:
string
Title:
Additional Configuration Attribute Variable Name 6The variable name of the sixth additional configurable attribute in multiple attribute mapping -
additionalConfigurationAttributeVariableName7:
string
Title:
Additional Configuration Attribute Variable Name 7The variable name of the seventh additional configurable attribute in multiple attribute mapping -
additionalConfigurationAttributeVariableName8:
string
Title:
Additional Configuration Attribute Variable Name 8The variable name of the eighth additional configurable attribute in multiple attribute mapping -
additionalConfigurationAttributeVariableName9:
string
Title:
Additional Configuration Attribute Variable Name 9The variable name of the ninth additional configurable attribute in multiple attribute mapping -
bomItemVariableName:
string
Title:
BOM Item Variable NameThe variable name of the BOM item -
configurationAttributeValue:
string
Title:
Configuration Attribute ValueThe value of the configurable attribute -
configurationAttributeVariableName:
string
Title:
Configuration Attribute Variable NameThe variable name of the configurable attribute -
effectiveFrom:
string
Title:
Effective FromThe effective from date for the BOM item -
effectiveTo:
string
Title:
Effective ToThe effective to date for the BOM item -
parentBOMMappingRuleVariableName:
string
Title:
Parent BOM Mapping Rule Variable NameThe variable name of the BOM Map configuration rule -
variableName:
string
Title:
Variable NameVariable Name of the BOM item mapping
Examples
The following example shows how to retrieve a list of BOM Item Mappings for a parent BOM Item 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/varioTablet/bomItemMappings
Response Body Sample
{
"hasMore": false,
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/bomItemSetups/varioTablet/bomItemMappings"
}
],
"items": [{
"additionalConfigurationAttributeVariableName2": null,
"additionalConfigurationAttributeVariableName3": null,
"additionalConfigurationAttributeVariableName1": null,
"additionalConfigurationAttributeVariableName10": null,
"configurationAttributeValue": "Custom",
"effectiveTo": null,
"configurationAttributeVariableName": "tabletType",
"bomItemVariableName": "varioTablet",
"additionalConfigurationAttributeValue6": null,
"additionalConfigurationAttributeValue7": null,
"additionalConfigurationAttributeValue10": null,
"additionalConfigurationAttributeValue4": null,
"parentBOMMappingRuleVariableName": "varioTablets:tablets:customTablet:defaultBOMMappingRule",
"variableName": "varioTablet-custom",
"additionalConfigurationAttributeValue5": null,
"additionalConfigurationAttributeValue8": null,
"additionalConfigurationAttributeValue9": null,
"additionalConfigurationAttributeVariableName8": null,
"additionalConfigurationAttributeVariableName9": null,
"additionalConfigurationAttributeValue2": null,
"additionalConfigurationAttributeVariableName6": null,
"additionalConfigurationAttributeValue3": null,
"additionalConfigurationAttributeVariableName7": null,
"effectiveFrom": null,
"additionalConfigurationAttributeVariableName4": null,
"additionalConfigurationAttributeValue1": null,
"additionalConfigurationAttributeVariableName5": null,
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/bomItemSetups/varioTablet/bomItemMappings/varioTablet-custom"
}, {
"rel": "parent",
"href": "https://sitename.oracle.com//rest/v19/bomItemSetups/varioTablet"
}
]
}, {
"additionalConfigurationAttributeVariableName2": null,
"additionalConfigurationAttributeVariableName3": null,
"additionalConfigurationAttributeVariableName1": null,
"additionalConfigurationAttributeVariableName10": null,
"configurationAttributeValue": null,
"effectiveTo": null,
"configurationAttributeVariableName": null,
"bomItemVariableName": "varioTablet",
"additionalConfigurationAttributeValue6": null,
"additionalConfigurationAttributeValue7": null,
"additionalConfigurationAttributeValue10": null,
"additionalConfigurationAttributeValue4": null,
"parentBOMMappingRuleVariableName": "varioTablets:tablets:customTablet:defaultBOMMappingRule",
"variableName": "varioTablet-Standard",
"additionalConfigurationAttributeValue5": null,
"additionalConfigurationAttributeValue8": null,
"additionalConfigurationAttributeValue9": null,
"additionalConfigurationAttributeVariableName8": null,
"additionalConfigurationAttributeVariableName9": null,
"additionalConfigurationAttributeValue2": null,
"additionalConfigurationAttributeVariableName6": null,
"additionalConfigurationAttributeValue3": null,
"additionalConfigurationAttributeVariableName7": null,
"effectiveFrom": null,
"additionalConfigurationAttributeVariableName4": null,
"additionalConfigurationAttributeValue1": null,
"additionalConfigurationAttributeVariableName5": null,
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/bomItemSetups/varioTablet/bomItemMappings/varioTablet-Standard"
}, {
"rel": "parent",
"href": "https://sitename.oracle.com/rest/v19/bomItemSetups/varioTablet"
}
]
}
]
}