Create Part Extended Description Translations
post
/rest/v19/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:
objectTitle:
Show Source
Part Extended Description Translations-
dateAdded:
string
Title:
Date AddedSystem field indicating the date on which the Resource was created. -
dateModified:
string
Title:
Date ModifiedSystem field indicating the date on which the Resource was last modified. -
id:
integer
Title:
IdIdentifier for the resource -
language:
object Language
Title:
LanguageThe defined language of the rows translated columns. -
partExtendedDescription1:
string
Title:
Extended Description 1Part extended description 1 -
partExtendedDescription2:
string
Title:
Extended Description 2Part extended description 2
Nested Schema : Language
Type:
objectTitle:
LanguageThe defined language of the rows translated columns.
Show Source
-
id:
integer
Title:
IdPrimary Key of the language resource. -
languageCode:
string
Title:
Language CodeUnique language code -
languageNumber:
integer
Title:
Language NumberUnique language number.
Response
Supported Media Types
- application/json
Default Response
Root Schema : Part Extended Description Translations
Type:
objectTitle:
Show Source
Part Extended Description Translations-
dateAdded:
string
Title:
Date AddedSystem field indicating the date on which the Resource was created. -
dateModified:
string
Title:
Date ModifiedSystem field indicating the date on which the Resource was last modified. -
id:
integer
Title:
IdIdentifier for the resource -
language:
object Language
Title:
LanguageThe defined language of the rows translated columns. -
partExtendedDescription1:
string
Title:
Extended Description 1Part extended description 1 -
partExtendedDescription2:
string
Title:
Extended Description 2Part extended description 2
Nested Schema : Language
Type:
objectTitle:
LanguageThe defined language of the rows translated columns.
Show Source
-
id:
integer
Title:
IdPrimary Key of the language resource. -
languageCode:
string
Title:
Language CodeUnique language code -
languageNumber:
integer
Title:
Language NumberUnique 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 -H "Authorization: Bearer <token>" - H "Content-type: application/json" https://sitename.oracle.com/rest/v19/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/v19/languages"
}, {
"rel": "canonical",
"href": "https://sitename.oracle.com/rest/v19/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/v19/partSetups/38644116/extendedDescriptions/38653270/translations/38852337"
}
]
}