Get Menu Item Translation

get

/rest/v7/commerceProcesses/{processVarName}/documents/{docVarName}/attributes/{attributeVarName}/menuItems/{menuItemId}/translations/{languageCode}

This service returns the specified language translation for a menu item.

Request

Path Parameters
Back to Top

Response

Default Response

Body ()
Root Schema : CommerceMenuItemTranslation
Type: object
Show Source
Nested Schema : language
Type: object
Show Source
Back to Top

Examples

The following example shows how to retrieve the specified translation for a menu 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/v7/commerceProcesses/oraclecpqo/documents/transaction/attributes/paymentTerms_t/menuItems/36244405/translations/es

Response Body Sample

{
   "language": {"languageCode": "es", "languageNumber": 2},
   "links": [
      {
         "rel": "self",
         "href": " "https://sitename.oracle.com/rest/v7/commerceProcesses/oraclecpqo/documents/transaction/attributes/paymentTerms_t/menuItems/36244405/translations/es"
      }, 
      {
         "rel": "parent",
         "href": " "https://sitename.oracle.com//rest/v7/commerceProcesses/oraclecpqo/documents/transaction/attributes/paymentTerms_t/menuItems/36244405"
      }
   ],
   "displayValue": "Neto a 60"
}
Back to Top