Get a Part Price
get
/rest/v16/partSetups/{id}/prices/{priceId}
Use this endpoint to retrieve the specified price for a CPQ part.
Request
Supported Media Types
- application/json
Path Parameters
-
id(required): integer
The unique identifier for the part.
-
priceId(required): integer
The unique identifier for a part price.
Response
Supported Media Types
- application/json
Default Response
Root Schema : Part Price Setup Children Instance Definitions
Type:
object
Title:
Show Source
Part Price Setup Children 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. -
id:
integer
Title:
Id
Primary Key of the Resource -
price:
object Price
Title:
Price
Price of the part.
Nested Schema : Price
Type:
object
Title:
Price
Price of the part.
Show Source
-
currency:
string
Title:
currency
-
value:
number
Title:
value
Examples
The following example shows how to retrieve the specified price 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/prices/38852300
Response Body
{ "price": { "value": 11800.0, "currency": "EUR" }, "dateModified": "2023-03-07T18:21:22.000Z", "id": 38852300, "dateAdded": "2023-03-07T18:21:22.000Z", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v16/partSetups/38644116/prices/38852300" }, { "rel": "parent", "href": "https://sitename.oracle.com/rest/v16/partSetups/38644116" } ] }