Get a Part Translation
get
/rest/v16/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:
object
Title:
Show Source
Part Translation Setup Instance Definitions
-
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. -
description:
string
Title:
Translated description
Translated description of the part. -
id:
integer
Title:
Id
Identifier for the resource -
language:
object Language
Title:
Language
The defined language of the rows translated columns. -
units:
string
Title:
Translated Units
Translated units of the part
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 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 - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json" http://sitename.oracle.com/rest/v16/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/v16/languages" }, { "rel": "canonical", "href": "https://sitename.oracle.com/rest/v16/languages/36329904" } ] }, "id": 38818015, "units": null, "dateAdded": "2023-03-02T21:31:55.000Z", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v16/partSetups/38644116/translations/38818015" }, { "rel": "parent", "href": "https://sitename.oracle.com/rest/v16/partSetups/38644116" } ] }