Get Action Translation

get

/rest/v16/commerceProcesses/{processVarName}/documents/{docVarName}/actionDefs/{actionVarName}/translations/{languageCode}

This service returns a specific language translation for an action.

Request

Path Parameters
Back to Top

Response

Default Response

Body ()
Root Schema : CommerceActionTranslations
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 an action 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/commerceProcesses/oraclecpqo/documents/transaction/actionDefs/_update_line_items/translations/fr

Response Body Sample

{
   "language": {"languageCode": "fr", "languageNumber": 1},
   "links": [{
         "rel": "self",
         "href": "https://sitename.oracle.com/rest/v16/commerceProcesses/oraclecpqo/documents/transaction/actionDefs/_update_line_items/translations/fr"
      }, {
         "rel": "parent",
         "href": "https://sitename.oracle.com/rest/v16/commerceProcesses/oraclecpqo/documents/transaction/actionDefs/_update_line_items"
      }
   ],
   "label": "Mettre à jour les lignes de revenu",
   "description": "Action par dfaut de mise à jour des lignes de revenu"
}
Back to Top