Create Part Extended Description Translations

post

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

Use this endpoint to create translations for CPQ part extended descriptions.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : Part Extended Description Translations
Type: object
Title: Part Extended Description Translations
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 Extended Description Translations
Type: object
Title: Part Extended Description Translations
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 CPQ part extended descriptions 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/extendedDescriptions/38653270/translations

Request Body

{
  "partExtendedDescription1": "Ejemplo de contenido para la descripcin ampliada de la pieza 1",
  "language": {
    "languageNumber": 2,
    "languageCode": "es"
  },
  "partExtendedDescription2": "Ejemplo de contenido para la descripcin ampliada de la pieza 2"
}

Request Body

{
  "partExtendedDescription1": "Ejemplo de contenido para la descripcin ampliada de la pieza 1",
  "dateModified": "2023-03-07T19:16:31.502Z",
  "language": {
    "languageNumber": 2,
    "languageCode": "es",
    "id": 36329905,
    "links": [{
        "rel": "domain",
        "href": "https://sitename.oracle.com/rest/v16/languages"
      }, {
        "rel": "canonical",
        "href": "https://sitename.oracle.com/rest/v16/languages/36329905"
      }
    ]
  },
  "id": 38852337,
  "partExtendedDescription2": "Ejemplo de contenido para la descripcin ampliada de la pieza 2",
  "dateAdded": "2023-03-07T19:16:31.502Z",
  "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v16/partSetups/38644116/extendedDescriptions/38653270/translations/38852337"
    }
  ]
}
Back to Top