Get Menu Item Metadata
get
/rest/v7/commerceProcesses/{processVarName}/documents/{docVarName}/attributes/{attributeVarName}/menuItems/{menuItemId}
his service returns the metadata for a specific menu item.
Request
Path Parameters
-
attributeVarName: string
Attribute Variable Name
-
docVarName: string
Document Variable Name
- menuItemId: string
-
processVarName: string
Process Variable Name
Response
Default Response
Root Schema : CommerceMenuItems
Type:
Show Source
object
-
dateModified(optional):
string
Title:
Date Modified
Date Modified -
displayValue(optional):
string
Title:
Display Text
Display Text -
id(optional):
integer
Title:
Id
Primary Key of Commerce Attributes Menu Items - links(optional): object menuItemLinks
-
orderNumber(optional):
integer
Title:
Order Number
Order Number -
value(optional):
string
Title:
Variable Name
Variable Name
Examples
The following example shows how to retrieve the specified menu item metadata 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/v7/commerceProcesses/oraclecpqo/documents/transaction/attributes/paymentTerms_t/menuItems/36244405
Response Body Sample
{ "id": 36244405, "dateModified": "2014-02-24", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v7/commerceProcesses/oraclecpqo/documents/transaction/attributes/paymentTerms_t/menuItems/36244405" }, { "rel": "parent", "href": "https://sitename.oracle.com/rest/v7/commerceProcesses/oraclecpqo/documents/transaction/attributes/paymentTerms_t" }, { "rel": "child", "href": "https://sitename.oracle.com/rest/v7/commerceProcesses/oraclecpqo/documents/transaction/attributes/paymentTerms_t/menuItems/36244405/translations" } ], "displayValue": "Net 60", "value": "Net 60", "orderNumber": 2 }