Get Product Family Attribute Menu Item Metadata
get
/rest/v16/productFamilies/{prodFamVarName}/attributes/{attributeVarName}/menuItems/{menuItemId}
This service returns the metadata for a specific menu item for an array set attribute of a Product Family.
Request
Path Parameters
-
attributeVarName(required): string
Attribute variable name.
-
menuItemId(required): integer
Primary key of menu item.
-
prodFamVarName(required): string
Product family variable name.
Query Parameters
-
excludeLinks: string
Exclude links.
-
expand: string
Allows expansion of relationships.
Response
Supported Media Types
- application/json
Default Response
Menu item details of an attribute defined at product family level.
Nested Schema : Reference Links
Type:
object
Title:
Reference Links
Reference links for the Parent, Self, Children and Related as applicable
Show Source
-
href:
string
Title:
href
URL to the related object -
rel:
string
Title:
Link
Link relationship to the current object
Examples
The following example shows how to retrieve the metadata for the specified Configuration item by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X GET - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json" https://sitename.oracle.com/rest/v16/productFamilies/vision/attributes/operatingSystem_selector/menuItems/36673411
Translations
The following components can be appended to the end of this endpoint to return translation metadata:
/translations
- This returns all language translations for the requested entity./translations/{langCode}
- This returns a specific language translation for the requested entity. Example:/translations/es
Response Body Sample
{ "id": 36673411, "links": [{ "rel": "parent", "href": "https://sitename.oracle.com/rest/v16/productFamilies/vision/attributes/operatingSystem_selector" }, { "rel": "self", "href": "https://sitename.oracle.com/rest/v16/productFamilies/vision/attributes/operatingSystem_selector/menuItems/36673411" }, { "rel": "child", "href": "https://sitename.oracle.com/rest/v16/productFamilies/vision/attributes/operatingSystem_selector/menuItems/36673411/translations" } ], "displayValue": "Blue Hat Enterprise Standard", "value": "Blue Hat Enterprise Standard", "orderNumber": 6 }