Get All Part Translations

get

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

Use this endpoint to retrieve all translations for the specified CPQ part.

Request

Supported Media Types
Path Parameters
Query Parameters
  • Restrict which fields shall be returned. The value is a comma delimited string and each token is a field name.
  • The requested page size, which limits the number of elements the collection should max return.
  • The offset of the page. By default, offset is 0, which means first page will be returned.
  • Specifies a comma-separated list of pairs to order the response by.
  • Allows to specify one or more filtering criteria. By default, no filtering is applied.
  • Specifies that the total count of records should be included in the response when doing pagination.
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : Part Translation Collection Definitions
Type: object
Title: Part Translation Collection Definitions
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : Part Translation Setup Instance Definitions
Type: object
Title: Part Translation Setup Instance Definitions
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 retrieve all translations for the specified 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

Response Body

{
  "hasMore": false,
  "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v16/partSetups/38644116/translations"
    }
  ],
  "items": [{
      "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"
        }
      ]
    }, {
      "description": "Die Premium-Wartung umfasst Mehrpunktinspektionen sowie die vorbeugende Pflege und den Austausch normaler Verschleißteile, die regelmßig gewartet werden müssen.",
      "dateModified": "2023-03-02T21:31:55.000Z",
      "language": {
        "languageNumber": 0,
        "languageCode": "de",
        "id": 36329903,
        "links": [{
            "rel": "domain",
            "href": "https://sitename.oracle.com/rest/v16/languages"
          }, {
            "rel": "canonical",
            "href": "https://sitename.oracle.com/rest/v16/languages/36329903"
          }
        ]
      },
      "id": 38818016,
      "units": null,
      "dateAdded": "2023-03-02T21:31:55.000Z",
      "links": [{
          "rel": "self",
          "href": "https://sitename.oracle.com/rest/v16/partSetups/38644116/translations/38818016"
        }, {
          "rel": "parent",
          "href": "https://sitename.oracle.com/rest/v16/partSetups/38644116"
        }
      ]
    }
  ]
}
Back to Top