Create Extended Descriptions for a Part
post
/rest/v19/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
- application/json
Path Parameters
-
id(required): integer
The unique identifier for the part.
Root Schema : Part Extended Descriptions
Type:
objectTitle:
Show Source
Part Extended Descriptions-
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 -
partExtendedDescription1:
string
Title:
Extended Description 1Part extended description 1 -
partExtendedDescription2:
string
Title:
Extended Description 2Part extended description 2 -
translations:
object Part Extended Description Translations
Title:
Part Extended Description Translations
Nested Schema : Part Extended Description Translations
Type:
objectTitle:
Show Source
Part Extended Description TranslationsNested Schema : items
Type:
Show Source
array-
Array of:
object Part Extended Description Translations
Title:
Part Extended Description Translations
Nested 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 Descriptions
Type:
objectTitle:
Show Source
Part Extended Descriptions-
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 -
partExtendedDescription1:
string
Title:
Extended Description 1Part extended description 1 -
partExtendedDescription2:
string
Title:
Extended Description 2Part extended description 2
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 -H "Authorization: Bearer <token>" - H "Content-type: application/json" https://sitename.oracle.com/rest/v19/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/v19/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/v19/partSetups/39644116/extendedDescriptions/38653270"
}, {
"kind": "",
"rel": "child",
"name": "translations",
"href": "https://sitename.oracle.com/rest/v19/partSetups/39644116/extendedDescriptions/39653270/translations"
}, {
"rel": "parent",
"href": "https://sitename.oracle.com/rest/v19/partSetups/39644116"
}
]
}
]
}