Create a Part Translation

post

/rest/v16/partSetups/{id}/translations

Use this endpoint to create translations for the specified CPQ part.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : Part Translation Setup Create Request Definitions
Type: object
Title: Part Translation Setup Create Request Definitions
Show Source
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 : Part Translation Setup Instance Definitions
Type: object
Title: Part Translation Setup Instance Definitions
Show Source
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 translations for the specified CPQ part by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl - X POST - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json"
https://sitename.oracle.com/rest/v16/partSetups/38644116/translations

Request Body

{   "description": "L'entretien Premium couvre les inspections multipoints, ainsi que les
      soins prventifs et le remplacement des lments normaux d'usure normale qui
      ncessitent une attention priodique.",   "language": {     "languageNumber": 1,
      "languageCode": "fr"   } }

Request Body

{
  "description": "L'entretien Premium couvre les inspections multipoints, ainsi que les soins prventifs et le remplacement des lments normaux d'usure normale qui ncessitent une attention priodique.",
  "dateModified": "2023-03-07T18:45:34.402Z",
  "language": {
    "languageNumber": 1,
    "languageCode": "fr",
    "id": 36329904,
    "links": [{
        "rel": "domain",
        "href": "https://sitename.oracle.com/rest/v16/languages"
      }, {
        "rel": "canonical",
        "href": "https://sitename.oracle.com/rest/v16/languages/36329904"
      }
    ]
  },
  "id": 38852322,
  "units": null,
  "dateAdded": "2023-03-07T18:45:34.402Z",
  "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v16/partSetups/38644116/translations/38852322"
    }
  ]
}
Back to Top