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
- application/json
Path Parameters
-
descriptionsId(required): integer
The extended descriptions Id.
-
id(required): integer
The unique identifier for the part.
Root Schema : Part Extended Description Translations
Type:
object
Title:
Show Source
Part Extended Description 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. -
id:
integer
Title:
Id
Identifier for the resource -
language:
object Language
Title:
Language
The defined language of the rows translated columns. -
partExtendedDescription1:
string
Title:
Extended Description 1
Part extended description 1 -
partExtendedDescription2:
string
Title:
Extended Description 2
Part extended description 2
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 : Part Extended Description Translations
Type:
object
Title:
Show Source
Part Extended Description 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. -
id:
integer
Title:
Id
Identifier for the resource -
language:
object Language
Title:
Language
The defined language of the rows translated columns. -
partExtendedDescription1:
string
Title:
Extended Description 1
Part extended description 1 -
partExtendedDescription2:
string
Title:
Extended Description 2
Part extended description 2
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 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" } ] }