Get Action Translations
get
/rest/v7/commerceProcesses/{processVarName}/documents/{docVarName}/actionDefs/{actionVarName}/translations
This service returns all language translations for an action.
Request
Path Parameters
-
actionVarName: string
Action Variable Name
-
docVarName: string
Document Variable Name
-
processVarName: string
Process Variable Name
Response
Default Response
Nested Schema : CommerceActionTranslations
Type:
Show Source
object
-
description(optional):
string
Title:
Description
Description -
label(optional):
string
Title:
Label
Label -
language(optional):
object language
-
links(optional):
object actionTranslationLinks
Nested Schema : language
Type:
Show Source
object
-
languageCode(optional):
string
Title:
Language Code
Unique language code -
languageNumber(optional):
integer
Title:
Language Number
Unique language number.
Nested Schema : actionTranslationLinks
Type:
Show Source
object
-
parent(optional):
string
Link to parent Commerce process document action.
Examples
The following example shows how to retrieve translations for the specified 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/v7/commerceProcesses/oraclecpqo/documents/transaction/actionDefs/_update_line_items/translations