Create a Product Family Action Translation
post
/rest/v19/allProductFamilySetups/{allProdFamsVarName}/productFamilies/{prodFamVarName}/_actions/{actionVarName}/translations
Use this enpoint to create a translation for the specified Product Family action.
Request
Supported Media Types
- application/json
Path Parameters
-
actionVarName(required): string
Variable Name of the action.
-
allProdFamsVarName(required): string
Variable Name of All Product Families '_allProductFamilies'
-
prodFamVarName(required): string
Variable Name of the Product Family.
Root Schema : Config Action Translations
Type:
object
Title:
Show Source
Config Action Translations
-
dateAdded:
string
Title:
Date Added
System field indicating the date on which the Resource was created. -
dateModified:
string
Title:
Date Modified
System field indicating the date on which the Resource was last modified. -
description:
string
Title:
Translated Config Action Description
Translated Description of the Config Action. -
id:
integer
Title:
Id
Identifier for the resource -
label:
string
Title:
Translated Config Action Label
Translated Label of the Config Action. -
language:
object Language
Title:
Language
The defined language of the rows translated columns.
Nested Schema : Language
Type:
object
Title:
Language
The defined language of the rows translated columns.
Show Source
-
id:
integer
Title:
Id
Primary Key of the language resource. -
languageCode:
string
Title:
Language Code
Unique language code -
languageNumber:
integer
Title:
Language Number
Unique language number.
Response
Supported Media Types
- application/json
Default Response
Root Schema : Config Action Translations
Type:
object
Title:
Show Source
Config Action Translations
-
dateAdded:
string
Title:
Date Added
System field indicating the date on which the Resource was created. -
dateModified:
string
Title:
Date Modified
System field indicating the date on which the Resource was last modified. -
description:
string
Title:
Translated Config Action Description
Translated Description of the Config Action. -
id:
integer
Title:
Id
Identifier for the resource -
label:
string
Title:
Translated Config Action Label
Translated Label of the Config Action. -
language:
object Language
Title:
Language
The defined language of the rows translated columns.
Nested Schema : Language
Type:
object
Title:
Language
The defined language of the rows translated columns.
Show Source
-
id:
integer
Title:
Id
Primary Key of the language resource. -
languageCode:
string
Title:
Language Code
Unique language code -
languageNumber:
integer
Title:
Language Number
Unique language number.
Examples
The following example shows how to create a new Product Family 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/_actions/selectPromotion2/translations
Request Body Sample
{ "language": {"languageCode": "de"}, "label": "Wahlen Sie Werbung" }
Response Body Sample
{ "description": "", "dateModified": "2023-09-08T18:57:01.411Z", "language": { "languageCode": "de", "languageNumber": 0, "id": 36341503, "links": [{ "rel": "domain", "href": "https://sitename.oracle.com/rest/v19/languages" }, { "rel": "canonical", "href": "https://sitename.oracle.com/rest/v19/languages/36341503" } ] }, "label": "Wahlen Sie Werbung", "dateAdded": "2023-09-08T18:57:01.411Z", "id": 36972018, "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v19/allProductFamilySetups/_allProductFamilies/productFamilies/visionVehicles/_actions/selectPromotion2/translations/36972018" } ] }