Get Attribute Translation
get
/rest/v7/commerceProcesses/{processVarName}/documents/{docVarName}/attributes/{attributeVarName}/translations/{languageCode}
This service returns the specified language translation for an attribute.
Request
Path Parameters
-
attributeVarName: string
Attribute Variable Name
-
docVarName: string
Document Variable Name
-
languageCode: string
Language Code for the requested language
-
processVarName: string
Process Variable Name
Response
Default Response
Root Schema : CommerceAttributeTranslation
Type:
Show Source
object-
defaultData(optional):
object Default
Title:
DefaultDefault -
description(optional):
string
Title:
DescriptionDescription -
label(optional):
string
Title:
LabelLabel -
language(optional):
object language
-
links(optional):
object attributeTranslationLinks
Nested Schema : Default
Type:
objectTitle:
DefaultDefault
Show Source
-
userDefault(optional):
string
Title:
User DefaultUser Default
Nested Schema : language
Type:
Show Source
object-
languageCode(optional):
string
Title:
Language CodeUnique language code -
languageNumber(optional):
integer
Title:
Language NumberUnique language number.
Nested Schema : attributeTranslationLinks
Type:
Show Source
object-
parent(optional):
string
Link to parent Commerce process document attribute.
Examples
The following example shows how to retrieve the specified translation for an attribute 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/_customer_t_email/translations/de
Response Body Sample
{
"language": {"languageCode": "fr", "languageNumber": 1},
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/rest/v7/commerceProcesses/oraclecpqo/documents/transaction/actionDefs/_update_line_items/translations/fr"
}, {
"rel": "parent",
"href": "https://sitename.oracle.com/rest/v7/commerceProcesses/oraclecpqo/documents/transaction/actionDefs/_update_line_items"
}
],
"label": "Mettre ?? jour les lignes de revenu",
"description": "Action par d??faut de mise ?? jour des lignes de revenu"
}