Get a Part Translation
get
/rest/v19/partSetups/{id}/translations/{translationId}
Use this endpoint to retrieve the specified translation for a CPQ part.
Request
Supported Media Types
- application/json
Path Parameters
-
id(required): integer
The unique identifier for the part.
-
translationId(required): integer
Identifier for the resource
Response
Supported Media Types
- application/json
Default Response
Root Schema : Part Translation Setup Instance Definitions
Type:
objectTitle:
Show Source
Part Translation Setup Instance Definitions-
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. -
description:
string
Title:
Translated descriptionTranslated description of the part. -
id:
integer
Title:
IdIdentifier for the resource -
language:
object Language
Title:
LanguageThe defined language of the rows translated columns. -
units:
string
Title:
Translated UnitsTranslated units of the part
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 retrieve the specified translation for a CPQ part by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X GET -H "Authorization: Bearer <token>" - H "Content-type: application/json" http://sitename.oracle.com/rest/v19/partSetups/38644116/translations/38818015
Response 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-02T21:31:55.000Z",
"language": {
"languageNumber": 1,
"languageCode": "fr",
"id": 36329904,
"links": [{
"rel": "domain",
"href": "https://sitename.oracle.com/rest/v19/languages"
}, {
"rel": "canonical",
"href": "https://sitename.oracle.com/rest/v19/languages/36329904"
}
]
},
"id": 38818015,
"units": null,
"dateAdded": "2023-03-02T21:31:55.000Z",
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/partSetups/38644116/translations/38818015"
}, {
"rel": "parent",
"href": "https://sitename.oracle.com/rest/v19/partSetups/38644116"
}
]
}