Get a Part Price
get
/rest/v19/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:
objectTitle:
Show Source
Part Price Setup Children Instance Definitions-
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:
IdPrimary Key of the Resource -
price:
object Price
Title:
PricePrice of the part.
Nested Schema : Price
Type:
objectTitle:
PricePrice 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 -H "Authorization: Bearer <token>" - H "Content-type: application/json" http://sitename.oracle.com/rest/v19/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/v19/partSetups/38644116/prices/38852300"
}, {
"rel": "parent",
"href": "https://sitename.oracle.com/rest/v19/partSetups/38644116"
}
]
}