Get a Model Menu Item Definition
get
/rest/v19/allProductFamilySetups/{allProdFamsVarName}/productFamilies/{prodFamVarName}/productLines/{prodLineVarName}/models/{modelVarName}/attributes/{attributeVarName}/menuItems/{menuItem_Id}
Use this endpoint to retrieve a definition for the specified Model attribute menu item.
Request
Supported Media Types
- application/json
Path Parameters
-
allProdFamsVarName(required): string
Variable Name of All Product Families '_allProductFamilies'
-
attributeVarName(required): string
Variable Name of the Attribute
-
menuItem_Id(required): integer
Primary Key of the Resource
-
modelVarName(required): string
Variable Name of the Model.
-
prodFamVarName(required): string
Variable Name of the Product Family.
-
prodLineVarName(required): string
Variable Name of the Product Line
Query Parameters
-
expand: string
Allows expansion of relationships.
Response
Supported Media Types
- application/json
Default Response
Root Schema : Config Menu Items
Type:
object
Title:
Show Source
Config Menu Items
-
dateAdded:
string
Title:
Date Added
System field indicating the date on which the Resource was created. -
dateModified:
string
Title:
Date Modified
System field indicating the date on which the Resource was last modified. -
id:
integer
Title:
Id
Primary Key of the Resource -
isOverride:
string
Title:
Is Override
Menu Item is on an overridden Config Attribute -
itemText:
string
Title:
Menu Item Text
Text of the Menu Item -
itemValue:
string
Title:
Menu Item Value
Value of the Menu Item -
orderNumber:
integer
Title:
Order Number
Order Number of Config Menu Item
Examples
The following example shows how to retrieve the specified Model menu 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 "Content-type: application/json" https://sitename.oracle.com/rest/v17/allProductFamilySetups/_allProductFamilies/productFamilies/testbed/productLines/samplePL/models/sampleModel/attributes/aVPSSMDropdown1/menuItems/16305677
Response Body Sample
{ "orderNumber": 1, "itemValue": "Value 1", "isOverride": "false", "dateModified": "2022-03-02T17:26:58.000Z", "id": 16305677, "dateAdded": "2014-02-24T18:07:51.000Z", "itemText": "Value 1", "links": [{ "rel": "self", "href": "http://sitename.oracle.com/rest/v17/allProductFamilySetups/_allProductFamilies/productFamilies/testbed/productLines/samplePL/models/sampleModel/attributes/aVPSSMDropdown1/menuItems/16305677" }, { "kind": "", "rel": "child", "name": "images", "href": "http://sitename.oracle.com/rest/v17/allProductFamilySetups/_allProductFamilies/productFamilies/testbed/productLines/samplePL/models/sampleModel/attributes/aVPSSMDropdown1/menuItems/16305677/images" }, { "kind": "", "rel": "child", "name": "prices", "href": "http://sitename.oracle.com/rest/v17/allProductFamilySetups/_allProductFamilies/productFamilies/testbed/productLines/samplePL/models/sampleModel/attributes/aVPSSMDropdown1/menuItems/16305677/prices" }, { "kind": "", "rel": "child", "name": "translations", "href": "http://sitename.oracle.com/rest/v17/allProductFamilySetups/_allProductFamilies/productFamilies/testbed/productLines/samplePL/models/sampleModel/attributes/aVPSSMDropdown1/menuItems/16305677/translations" }, { "rel": "parent", "href": "http://sitename.oracle.com/rest/v17/allProductFamilySetups/_allProductFamilies/productFamilies/testbed/productLines/samplePL/models/sampleModel/attributes/aVPSSMDropdown1" } ] }