Get Attribute Translations
get
/rest/v16/commerceProcesses/{processVarName}/documents/{docVarName}/attributes/{attributeVarName}/translations
This service returns all language translations for an attribute.
Request
Path Parameters
-
attributeVarName(required): string
Attribute Variable Name
-
docVarName(required): string
Document Variable Name
-
processVarName(required): string
Process Variable Name
Response
Default Response
Nested Schema : CommerceAttributeTranslation
Type:
Show Source
object
-
defaultData:
object Default
Title:
Default
Default -
description:
string
Title:
Description
Description -
label:
string
Title:
Label
Label -
language:
object language
-
links:
object attributeTranslationLinks
Nested Schema : Default
Type:
object
Title:
Default
Default
Show Source
-
userDefault:
string
Title:
User Default
User Default
Nested Schema : language
Type:
Show Source
object
-
languageCode:
string
Title:
Language Code
Unique language code -
languageNumber:
integer
Title:
Language Number
Unique language number.
Nested Schema : attributeTranslationLinks
Type:
Show Source
object
-
parent:
string
Link to parent Commerce process document attribute.
Examples
The following example shows how to retrieve translations for the specified 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/v16/commerceProcesses/oraclecpqo/documents/transaction/attributes/_customer_t_email/translations