Get a Price Agreement Pricing Data Item
get
/rest/v19/pricingSetup/agreements/{agreementVariableName}/data/{id}
Use this endpoint to retrieve the specified price agreement pricing data item.
Request
Path Parameters
Query Parameters
-
fields: string
This parameter filters the resource attributes. Only the specified attributes are returned, which means that if no attributes are specified, all attributes are returned.
Response
Supported Media Types
- application/json
200 Response
Success
Root Schema : PricingModelData
Type:
Show Source
object-
blockPrices:
array Block Prices
Title:
Block PricesThe block price. -
blockSize:
number()
Title:
Block SizeThe block size. -
bomItemName:
string()
Title:
BOM Item NameRead Only:trueThe BOM item's display name. When clients sets field bomItemVariableName, this field should also be explicitly set in the request. -
bomItemVariableName:
string()
Title:
BOM Item Variable NameRead Only:trueThe BOM Item's variable name. -
chargeDefinition:
string()
Title:
Charge DefinitionRead Only:trueDisplay Name of the Charge Definition. -
chargeDefinitionCode:
string()
Title:
Charge Definition CodeRead Only:trueThe unique code of the Charge Definition. -
chargeDefinitionId:
integer()
Title:
Charge Definition IDRead Only:trueID of the Charge Definition. -
chargeType:
string()
Title:
Charge TypeRead Only:trueThe category of charge. -
createdBy:
Created By
Title:
Created ByRead Only:trueThe details of the user who created the record. -
dateAdded:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date AddedRead Only:trueCreation date of the Price Model Data. -
dateModified:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date ModifiedRead Only:trueLast modified date of the Price Model Data. -
description:
string()
Title:
DescriptionRead Only:trueThe description of the Price Model Data -
dynamicPricingType:
string()
Title:
Dynamic Pricing TypeRead Only:trueAllowed Values:[ "static", "advanced", "volume", "tiered", "rateCard", "attributeBasedCharge" ]The dynamic pricing type of the charge. -
endDate:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
End DateRead Only:trueThe date at which the Charge will end. -
groupAccessEnabled:
boolean()
Title:
Group Access EnabledRead Only:trueIndicates whether the user has access to the groups segment -
id:
integer()
Title:
IdRead Only:trueThe Unique Identifier of the Price Model Data. -
lastModifiedBy:
Last Modified By
Title:
Last Modified ByRead Only:trueThe details of the user who modified the record. -
links:
array Links
Title:
LinksRead Only:trueThe link relations associated with the resource instance. -
partNumber:
string()
Title:
Part NumberRead Only:trueThe part Number of the Price Model Data.This should match the Part Lookup's lookupCode. -
pricePeriod:
string()
Title:
Price PeriodRead Only:trueThe billing period. -
prices:
array Prices
Title:
PricesThe item prices. -
priceType:
string()
Title:
Price TypeRead Only:trueThe type of charge. -
primaryCharge:
boolean()
Title:
Primary ChargeRead Only:trueIndicates whether this is the primary charge. -
quantityAggregation:
boolean()
Title:
Quantity AggregationIndicates whether to use aggregated quantity when calculating unit price for tiered-pricing. -
rangeFrom:
number()
Title:
Range FromRead Only:trueThe starting range of the Price Model Data. -
rangeTo:
number()
Title:
Range ToRead Only:trueThe ending range of the Price Model Data. -
rateCardName:
string()
Title:
Rate Card NameRead Only:trueRate Card name (Preview only. Not available for use.) -
rateCardVariableName:
string()
Title:
Rate Card Variable NameRead Only:trueRate Card variable name (Preview only. Not available for use.) -
ratePlanName:
string()
Title:
Rate Plan NameRead Only:trueRate Plan name. -
rootBomItemName:
string()
Title:
Root BOM Item NameRead Only:trueThe root BOM item's display name. -
rootBomItemVariableName:
string()
Title:
Root BOM Item Variable NameRead Only:trueThe root BOM item's variable name. -
segmentLevelAccessType:
string()
Title:
Segment-level Access TypeRead Only:trueSegment-level Access Type -
serviceDuration:
integer()
Title:
Service DurationRead Only:trueService duration. -
serviceDurationPeriod:
string()
Title:
Service Duration PeriodRead Only:trueService duration period code. -
serviceDurationType:
string()
Title:
Service Duration TypeRead Only:trueService duration type. -
startDate:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Start DateRead Only:trueThe date from which the Charge will be applicable. -
usageUOM:
string()
Title:
Usage UOMRead Only:trueThe unit of measure for the charge.
Nested Schema : Created By
Title:
Created ByRead Only:
trueThe details of the user who created the record.
Match All
The details of the user who created the record.
Show Source
Nested Schema : Last Modified By
Title:
Last Modified ByRead Only:
trueThe details of the user who modified the record.
Match All
The details of the user who modified the record.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksRead Only:
trueThe link relations associated with the resource instance.
Show Source
Nested Schema : PricingCurrencyValues
Type:
Show Source
object-
currencyCode:
string()
Title:
Currency CodeThe currency code. -
value:
number()
Title:
ValueThe currency value.
Nested Schema : UserDetails
Type:
Show Source
object-
emailId:
string()
Title:
Email IdEmail Id of the user -
firstName:
string()
Title:
First NameFirst Name of the user -
lastName:
string()
Title:
Last NameLast Name of the user
Examples
The following example shows how to retrieve the specified price agreement data item 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 "Accept: application/json" https://sitename.oracle.com/rest/v19/pricingSetup/agreements/agreementAPIaccount112/data/3023202282
Response Body Sample
{
"id": 3023202282,
"partNumber": "Floor Mats",
"dateModified": "2024-01-26T20:40:40Z",
"dateAdded": "2024-01-26T20:40:40Z",
"prices": [{
"currencyCode": "USD",
"value": 300
}
],
"chargeDefinitionId": -1,
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/pricingSetup/agreements/agreementAPIaccount112/data/3023202282"
}, {
"rel": "parent",
"href": "https://sitename.oracle.com/rest/v19/pricingSetup/agreements/agreementAPIaccount112/data"
}
],
"chargeType": "ORA_SALE",
"priceType": "One Time",
"primaryCharge": true,
"dynamicPricingType": "static",
"serviceDuration": -1,
"blockSize": 1
}