Create a Product Line Action Translation
post
/rest/v19/allProductFamilySetups/{allProdFamsVarName}/productFamilies/{prodFamVarName}/productLines/{prodLineVarName}/_actions/{actionVarName}/translations
Use this endpoint to add a translation for the specified Product Line action.
Request
Supported Media Types
- application/json
Path Parameters
-
actionVarName(required): string
Variable Name of the Config Action
-
allProdFamsVarName(required): string
Variable Name
-
prodFamVarName(required): string
Variable Name
-
prodLineVarName(required): string
Variable Name of the Product Line
Root Schema : Config Action Translations
Type:
objectTitle:
Show Source
Config Action Translations-
dateAdded:
string
Title:
Date AddedSystem field indicating the date on which the Resource was created. -
dateModified:
string
Title:
Date ModifiedSystem field indicating the date on which the Resource was last modified. -
description:
string
Title:
Translated Config Action DescriptionTranslated Description of the Config Action. -
id:
integer
Title:
IdIdentifier for the resource -
label:
string
Title:
Translated Config Action LabelTranslated Label of the Config Action. -
language:
object Language
Title:
LanguageThe defined language of the rows translated columns.
Nested Schema : Language
Type:
objectTitle:
LanguageThe defined language of the rows translated columns.
Show Source
-
id:
integer
Title:
IdPrimary Key of the language resource. -
languageCode:
string
Title:
Language CodeUnique language code -
languageNumber:
integer
Title:
Language NumberUnique language number.
Response
Supported Media Types
- application/json
Default Response
Root Schema : Config Action Translations
Type:
objectTitle:
Show Source
Config Action Translations-
dateAdded:
string
Title:
Date AddedSystem field indicating the date on which the Resource was created. -
dateModified:
string
Title:
Date ModifiedSystem field indicating the date on which the Resource was last modified. -
description:
string
Title:
Translated Config Action DescriptionTranslated Description of the Config Action. -
id:
integer
Title:
IdIdentifier for the resource -
label:
string
Title:
Translated Config Action LabelTranslated Label of the Config Action. -
language:
object Language
Title:
LanguageThe defined language of the rows translated columns.
Nested Schema : Language
Type:
objectTitle:
LanguageThe defined language of the rows translated columns.
Show Source
-
id:
integer
Title:
IdPrimary Key of the language resource. -
languageCode:
string
Title:
Language CodeUnique language code -
languageNumber:
integer
Title:
Language NumberUnique language number.
Examples
The following example shows how to create a new Product Line action translation by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X POST -H "Authorization: Bearer <token>" - H "Content-type: application/json" https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/visionVehicles/productLines/consumerVehicles/_actions/selectAllpl/translations
Request Body Sample
{
"language": {"languageCode": "fr"},
"label": "Selectionez une promotion"
}
Response Body Sample
{
"description": "",
"dateModified": "2023-09-08T23:41:59.499Z",
"language": {
"languageCode": "fr",
"languageNumber": 1,
"id": 36341504,
"links": [{
"rel": "domain",
"href": "https://sitename.oracle.com/rest/v19/languages"
}, {
"rel": "canonical",
"href": "https://sitename.oracle.com/rest/v19/languages/36341504"
}
]
},
"label": "Selectionez une promotion",
"dateAdded": "2023-09-08T23:41:59.499Z",
"id": 36975041,
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/visionVehicles/productLines/consumerVehicles/_actions/selectAllpl/translations/36975041"
}
]
}