Create Extended Descriptions for a Part

post

/rest/v16/partSetups/{id}/extendedDescriptions

Use this endpoint to create extended descriptions for a CPQ part without an extended descriptions object. Note: If the Extended Descriptions object exists, even though the descriptions are empty, you should use Update Part Extended Descriptions to populate the extended descriptions.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : Part Extended Descriptions
Type: object
Title: Part Extended Descriptions
Show Source
Nested Schema : Part Extended Description Translations
Type: object
Title: Part Extended Description Translations
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : Part Extended Description Translations
Type: object
Title: Part Extended Description Translations
Show Source
Nested Schema : Language
Type: object
Title: Language
The defined language of the rows translated columns.
Show Source
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : Part Extended Descriptions
Type: object
Title: Part Extended Descriptions
Show Source
Back to Top

Examples

The following example shows how to create extended descriptions for a CPQ part 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/39644116/extendedDescriptions

Request Body

{
  "partExtendedDescription1": "Sample content for extended part description 1",
  "partExtendedDescription2": "Sample content for extended part description 2"
}

Request Body

{
  "hasMore": false,
  "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/rest/v16/partSetups/39644116/extendedDescriptions"
    }
  ],
  "items": [{
      "partExtendedDescription1": "Sample content for extended part description 1",
      "dateModified": "2023-03-02T20:47:12.000Z",
      "id": 39653270,
      "partExtendedDescription2": "Sample content for extended part description 2",
      "dateAdded": "2021-09-22T09:01:06.000Z",
      "links": [{
          "rel": "self",
          "href": "https://sitename.oracle.com/rest/v16/partSetups/39644116/extendedDescriptions/38653270"
        }, {
          "kind": "",
          "rel": "child",
          "name": "translations",
          "href": "https://sitename.oracle.com/rest/v16/partSetups/39644116/extendedDescriptions/39653270/translations"
        }, {
          "rel": "parent",
          "href": "https://sitename.oracle.com/rest/v16/partSetups/39644116"
        }
      ]
    }
  ]
}
Back to Top