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
Path Parameters
Body ()
Root Schema : Config Action Translations
Type: object
Title: Config Action Translations
Show Source
  • Title: Date Added
    System field indicating the date on which the Resource was created.
  • Title: Date Modified
    System field indicating the date on which the Resource was last modified.
  • Title: Translated Config Action Description
    Translated Description of the Config Action.
  • Title: Id
    Identifier for the resource
  • Title: Translated Config Action Label
    Translated Label of the Config Action.
  • 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
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : Config Action Translations
Type: object
Title: Config Action Translations
Show Source
  • Title: Date Added
    System field indicating the date on which the Resource was created.
  • Title: Date Modified
    System field indicating the date on which the Resource was last modified.
  • Title: Translated Config Action Description
    Translated Description of the Config Action.
  • Title: Id
    Identifier for the resource
  • Title: Translated Config Action Label
    Translated Label of the Config Action.
  • 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
Back to Top

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"
    }
  ]
}
Back to Top