Add a Price Item to Charge Group
post
/rest/v19/pricingSetup/priceItems/actions/addItemToChargeGroup
Use this endpoint to associate a price item to a charge group.
Request
Supported Media Types
- application/json
Root Schema : LinkLaunchItemToChargeGroup
Type:
Show Source
object-
bomItemVarName:
string()
Title:
BOM Item Variable NameThe BOM item variable name. -
chargeGroupId:
string()
Title:
Charge Group IdThe identifier of the Price Item Charge Group. -
partNumber:
string()
Title:
Part Display NumberThe part display number. -
priceItemId:
string()
Title:
Price Item IdRead Only:trueThe identifier of the Price Item. -
serviceDuration:
integer()
Title:
Service Duration PeriodThe service duration period code of this price model item. This value is relevant only for parts with variable service duration type and is ignored for other types. -
serviceDurationPeriod:
string()
Title:
Service DurationThe service duration of this price model item. This value is relevant only for parts with variable service duration type and is ignored for other types.
Response
Supported Media Types
- application/json
200 Response
Success
Root Schema : PriceItem
Type:
Show Source
object-
bomItemName:
string()
Title:
BOM Item NameThe BOM item name. -
bomItemVariableName:
string()
Title:
BOM Item Variable NameThe BOM item variable name. -
chargeGroups:
Charge Groups
Title:
Charge GroupsThe collection of charge groups for this price item. Note this is a child resource. -
createdBy:
Created By
Title:
Created ByRead Only:trueThe details of the user who created the record. -
groupAccessEnabled:
boolean()
Title:
Group Access EnabledRead Only:trueIndicates whether the user has access to the groups segment -
id:
string()
Title:
IDThe unique ID of the Price Item. -
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. -
partDisplayNumber:
string()
Title:
Part Display NumberThe part display number. -
partNumber:
string()
Title:
Part NumberThe part number. -
pricedChargeGroupCount:
integer()
Title:
Priced Charge Group CountRead Only:trueThe number of charge groups that have prices defined. -
segmentLevelAccessType:
string()
Title:
Segment-level Access TypeRead Only:trueSegment-level Access Type -
serviceDuration:
string()
Title:
Service DurationThe service duration of this price model item. This value is relevant only for parts with variable service duration type and is ignored for other types. -
serviceDurationPeriod:
string()
Title:
Service Duration PeriodThe service duration period code of this price model item. This value is relevant only for parts with variable service duration type and is ignored for other types. -
serviceDurationType:
string()
Title:
Service Duration TypeService duration type.
Nested Schema : Charge Groups
Title:
Charge GroupsThe collection of charge groups for this price item. Note this is a child resource.
Match All
The collection of charge groups for this price item. Note this is a child resource.
Show Source
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 : PricingResourceCollection_PriceItemChargeGroup
Type:
Show Source
object-
count:
integer()
Title:
CountRead Only:trueThe number of resource instances returned in the current range. -
createdBy:
Created By
Title:
Created ByRead Only:trueThe details of the user who created the record. -
groupAccessEnabled:
boolean()
Title:
Group Access EnabledRead Only:trueIndicates whether the user has access to the groups segment -
hasMore:
boolean()
Title:
HasMoreRead Only:trueIndicates whether more resources are available on the server than the subset returned in the response. If the value is true, then there are more resources to retrieve from the server. The default value is false. -
items:
array items
-
lastModifiedBy:
Last Modified By
Title:
Last Modified ByRead Only:trueThe details of the user who modified the record. -
limit:
integer()
Title:
LimitRead Only:trueThe actual paging size used by the server. -
links:
array Links
Title:
LinksRead Only:trueThe link relations associated with the resource instance. -
offset:
integer()
Title:
OffSetRead Only:trueThe offset value used in the current page. -
segmentLevelAccessType:
string()
Title:
Segment-level Access TypeRead Only:trueSegment-level Access Type -
totalResults:
integer()
Title:
Total ResultsRead Only:trueCaptures the total count of the resource instances, which not only includes the instances in the current range, but all instances on the server that satisfy the request.
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 : 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
Nested Schema : PriceItemChargeGroup
Type:
Show Source
object-
charges:
Charges
Title:
ChargesRead Only:trueThe collection of charges for this charge group. Note this is a child resource. -
conditions:
Simple Conditions
Title:
Simple ConditionsA collection of conditions applied by the Pricing Charge Group. -
conditionType:
string()
Title:
Condition TypeAllowed Values:[ "alwaysTrue", "simple" ]The condition type of charge groupthat will be evaluated. -
createdBy:
Created By
Title:
Created ByRead Only:trueThe details of the user who created the record. -
defaultGroup:
boolean()
Title:
Default GroupIndicates whether this is a default charge group. -
editRestriction:
string()
Title:
Edit RestrictionRead Only:trueAllowed Values:[ "UNRESTRICTED", "ONLY_REORDERABLE", "RESTRICTED" ]Pricing Edit Restriction. -
endDate:
string(yyyy-MM-dd'T'HH:mm:ss'Z')
Title:
End DateThe date after which the Price Charge Group will no longer be applicable. -
groupAccessEnabled:
boolean()
Title:
Group Access EnabledRead Only:trueIndicates whether the user has access to the groups segment -
hasRatePlanSupport:
boolean()
Title:
Has Rate Plan SupportRead Only:trueIndicates if the charge groups supports rate plans. -
id:
string()
Title:
IdThe identifier of the Price Item Charge Group. -
label:
string()
Title:
LabelThe label of charge group. -
lastModifiedBy:
Last Modified By
Title:
Last Modified ByRead Only:trueThe details of the user who modified the record. -
linked:
boolean()
Title:
LinkedRead Only:trueIndicates if the charge group is linked to the price item.This can be set or reset depending on whether the item needs to linked or de-linked from the charge group -
links:
array Links
Title:
LinksRead Only:trueThe link relations associated with the resource instance. -
matrixTemplateVariableName:
string()
Title:
Dynamic Matrix Template Variable NameRead Only:trueThe dynamic matrix template variable name of the charge group. -
priceModel:
object priceModel
-
priceModelItem:
object priceModelItem
-
ratePlans:
Associated Rate Plans
Title:
Associated Rate PlansRead Only:trueThe rate plans linked to this charge group. -
segmentLevelAccessType:
string()
Title:
Segment-level Access TypeRead Only:trueSegment-level Access Type -
startDate:
string(yyyy-MM-dd'T'HH:mm:ss'Z')
Title:
Start DateThe date from which the Price Charge Group will be applicable.
Nested Schema : Charges
Title:
ChargesRead Only:
trueThe collection of charges for this charge group. Note this is a child resource.
Match All
The collection of charges for this charge group. Note this is a child resource.
Show Source
Nested Schema : Simple Conditions
Title:
Simple ConditionsA collection of conditions applied by the Pricing Charge Group.
Match All
A collection of conditions applied by the Pricing Charge Group.
Show Source
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 : priceModel
Type:
objectNested Schema : priceModelItem
Type:
objectNested Schema : Associated Rate Plans
Title:
Associated Rate PlansRead Only:
trueThe rate plans linked to this charge group.
Match All
The rate plans linked to this charge group.
Show Source
Nested Schema : PricingResourceCollection_PricingCharge
Type:
Show Source
object-
count:
integer()
Title:
CountRead Only:trueThe number of resource instances returned in the current range. -
createdBy:
Created By
Title:
Created ByRead Only:trueThe details of the user who created the record. -
groupAccessEnabled:
boolean()
Title:
Group Access EnabledRead Only:trueIndicates whether the user has access to the groups segment -
hasMore:
boolean()
Title:
HasMoreRead Only:trueIndicates whether more resources are available on the server than the subset returned in the response. If the value is true, then there are more resources to retrieve from the server. The default value is false. -
items:
array items
-
lastModifiedBy:
Last Modified By
Title:
Last Modified ByRead Only:trueThe details of the user who modified the record. -
limit:
integer()
Title:
LimitRead Only:trueThe actual paging size used by the server. -
links:
array Links
Title:
LinksRead Only:trueThe link relations associated with the resource instance. -
offset:
integer()
Title:
OffSetRead Only:trueThe offset value used in the current page. -
segmentLevelAccessType:
string()
Title:
Segment-level Access TypeRead Only:trueSegment-level Access Type -
totalResults:
integer()
Title:
Total ResultsRead Only:trueCaptures the total count of the resource instances, which not only includes the instances in the current range, but all instances on the server that satisfy the request.
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 : PricingCharge
Type:
Show Source
object-
blockPrices:
array Block Prices
Title:
Block PricesThe block price. -
blockSize:
number()
Title:
Block SizeThe block size. -
chargeDefinition:
string()
Title:
Charge DefinitionRead Only:trueDisplay Name of the Charge Definition. -
chargeDefinitionCode:
string()
Title:
Charge Definition CodeThe unique code of the Charge Definition. -
chargeDefinitionId:
integer()
Title:
Charge Definition IDRead Only:trueID of the Charge Definition. -
chargeType:
string()
Title:
Charge TypeThe 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. -
dateModified:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date ModifiedRead Only:trueLast modified date. -
dynamicPricingType:
string()
Title:
Dynamic Pricing TypeAllowed 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 DateThe 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 Charge. -
integrationId:
string()
Title:
Integration IdRate Plan Charge ID from SCM. -
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. -
pricePeriod:
string()
Title:
Price PeriodThe billing period. -
prices:
array Prices
Title:
PricesThe item prices. -
priceType:
string()
Title:
Price TypeThe type of charge. -
pricingMatrixVariableName:
string()
Title:
Pricing Matrix Variable NamePricing Matrix variable name (Preview only. Not available for use.) -
primaryCharge:
boolean()
Title:
Primary ChargeIndicates whether this is the primary charge. -
quantityAggregation:
boolean()
Title:
Quantity AggregationIndicates whether to use aggregated quantity when calculating unit price for tiered-pricing. -
rateCardName:
string()
Title:
Rate Card NameRead Only:trueRate Card name (Preview only. Not available for use.) -
rateCardVariableName:
string()
Title:
Rate Card Variable NameRate Card variable name (Preview only. Not available for use.) -
segmentLevelAccessType:
string()
Title:
Segment-level Access TypeRead Only:trueSegment-level Access Type -
startDate:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Start DateThe date from which the Charge will be applicable. -
templateVariableName:
string()
Title:
Pricing Matrix Template Variable NameThe pricing matrix emplate variable name. -
tiers:
array Tiers
Title:
TiersThe charge tiers. -
usageUOM:
string()
Title:
Usage UOMThe 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 : ChargeTier
Type:
Show Source
object-
blockPrices:
array Block Prices
Title:
Block PricesThe block price for the corresponding tier. -
blockSize:
number()
Title:
Block SizeThe block size for the corresponding tier. -
prices:
array Prices
Title:
PricesThe prices. -
rangeFrom:
number()
Title:
Range FromThe starting range of the Charge. -
rangeTo:
number()
Title:
Range ToRead Only:trueThe ending range of the Charge.
Nested Schema : Block Prices
Type:
arrayTitle:
Block PricesThe block price for the corresponding tier.
Show Source
Nested Schema : SimpleConditions
Type:
Show Source
object-
ruleExpression:
string()
Title:
Rule ExpressionThe rule expression that will be evaluated. -
simpleConditionRows:
array Simple Condition Rows
Title:
Simple Condition RowsA list of Simple Condition Rows.
Nested Schema : Simple Condition Rows
Type:
arrayTitle:
Simple Condition RowsA list of Simple Condition Rows.
Show Source
Nested Schema : SimpleConditionRow
Type:
Show Source
object-
displayName:
string()
Title:
Display NameThe display name of the Simple Condition Row. -
index:
integer()
Title:
IndexThe index (starting from 1) of the Simple Condition Row. -
operator:
string()
Title:
OperatorAllowed Values:[ "NONE", "EQUAL_TO", "NOT_EQUAL_TO", "GREATER_THAN", "GREATER_THAN_EQUAL_TO", "LESS_THAN", "LESS_THAN_EQUAL_TO", "CONTAINS", "NOT_CONTAINS", "STARTS_WITH", "NOT_STARTS_WITH", "ENDS_WITH", "NOT_ENDS_WITH" ]The operation of the Simple Condition Row. -
value:
string()
Title:
Target ValueThe value to match. -
variableName:
string()
Title:
Simple Condition RowThe variable name of the Simple Condition Row.
Nested Schema : PricingResourceCollection_PricingRatePlan
Type:
Show Source
object-
count:
integer()
Title:
CountRead Only:trueThe number of resource instances returned in the current range. -
createdBy:
Created By
Title:
Created ByRead Only:trueThe details of the user who created the record. -
groupAccessEnabled:
boolean()
Title:
Group Access EnabledRead Only:trueIndicates whether the user has access to the groups segment -
hasMore:
boolean()
Title:
HasMoreRead Only:trueIndicates whether more resources are available on the server than the subset returned in the response. If the value is true, then there are more resources to retrieve from the server. The default value is false. -
items:
array items
-
lastModifiedBy:
Last Modified By
Title:
Last Modified ByRead Only:trueThe details of the user who modified the record. -
limit:
integer()
Title:
LimitRead Only:trueThe actual paging size used by the server. -
links:
array Links
Title:
LinksRead Only:trueThe link relations associated with the resource instance. -
offset:
integer()
Title:
OffSetRead Only:trueThe offset value used in the current page. -
segmentLevelAccessType:
string()
Title:
Segment-level Access TypeRead Only:trueSegment-level Access Type -
totalResults:
integer()
Title:
Total ResultsRead Only:trueCaptures the total count of the resource instances, which not only includes the instances in the current range, but all instances on the server that satisfy the request.
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 : PricingRatePlan
Type:
Show Source
object-
chargeCount:
integer()
Title:
Associated Charges CountRead Only:trueThe count of charges directly associated with this price model item. -
charges:
Charges
Title:
ChargesRead Only:trueRate Plan charges -
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 Pricing Rate Plan. -
dateModified:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date ModifiedRead Only:trueLast Modified date of the Pricing Rate Plan. -
description:
string()
Title:
DescriptionDescription of the Pricing Rate Plan. -
endDate:
string()
Title:
End DateThe date after which the Pricing Rate Plan will no longer be applicable. -
groupAccessEnabled:
boolean()
Title:
Group Access EnabledRead Only:trueIndicates whether the user has access to the groups segment -
integrationId:
string()
Title:
Integration IDThe integration ID of the Pricing rate plan. -
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. -
name:
string()
Title:
NameName of the Pricing Rate Plan. -
orderNumber:
integer()
Title:
Order NumberThe position in a ordered list of Rate Plan. -
priceModelItemId:
integer()
Title:
Price ModelItem IdRead Only:trueThe Price ModelItem Id. -
priceModelItemIntegrationId:
string()
Title:
Price Model Item Integration IDThe integration ID of the parent Price Model Item. -
ratePlanNumber:
string()
Title:
Rate Plan NumberUnique Variable Name of the Pricing Rate Plan. -
segmentLevelAccessType:
string()
Title:
Segment-level Access TypeRead Only:trueSegment-level Access Type -
startDate:
string()
Title:
Start DateThe date from which the Pricing Rate Plan will be applicable.
Nested Schema : Charges
Title:
ChargesRead Only:
trueRate Plan charges
Match All
Rate Plan charges
Show Source
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
Examples
The following example shows how to associate a price item to a charge group 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 "Accept: application/json" https://sitename.oracle.com/rest/v19/pricingSetup/priceItems/actions/addItemToChargeGroup
Request Body Sample
{
"chargeGroupId": "3023059975",
"bomItemVarName": "configIntegrationRoot"
}Response Body Sample
{
"priceItemId": "bom-3022805515",
"chargeGroupId": "3023059975",
"bomItemVarName": "configIntegrationRoot"
}