Get an All Product Families Menu Item Definition
get
/rest/v19/allProductFamilySetups/{allProdFamsVarName}/attributes/{attributeVarName}/menuItems/{menuItem_Id}
Use this endpoint to retrieve a definition for the specified All Product Families 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
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 a catalog definition for the specified All Product Families attribute 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 "Accept: application/json" https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/attributes/aPFSingleSelectMenu/menuItems/38739200
Response Body Sample
{ "orderNumber": 3, "itemValue": "Option 3", "dateModified": "2022-06-08T21:57:19.000Z", "id": 38739200, "dateAdded": "2022-06-08T21:47:29.000Z", "itemText": "Option 3", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/attributes/aPFSingleSelectMenu/menuItems/38739200" }, { "kind": "", "rel": "child", "name": "images", "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/attributes/aPFSingleSelectMenu/menuItems/38739200/images" }, { "kind": "", "rel": "child", "name": "prices", "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/attributes/aPFSingleSelectMenu/menuItems/38739200/prices" }, { "rel": "parent", "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/attributes/aPFSingleSelectMenu" } ] }