Add a Pricing Matrix
post
/rest/v19/pricingSetup/matrixes
Use this endpoint to create a pricing matrix.
Request
Supported Media Types
- application/json
Root Schema : PricingMatrix
Type:
Show Source
object-
active:
boolean()
Title:
ActiveIndicates if the pricing matrix is active. -
allowedChargeDefinitions:
array Allowed Charge Definitions
Title:
Allowed Charge DefinitionsThe list of charge definitions that this pricing matrix will apply to. -
allowedUsageUOM:
Allowed Usage UOM
Title:
Allowed Usage UOMThe usage UOM lookup code that this pricing matrix will apply to. -
createdBy:
Created By
Title:
Created ByRead Only:trueThe details of the user who created the record. -
data:
Pricing Matrix data
Title:
Pricing Matrix dataRead Only:trueList of Pricing Matrix data. -
dateAdded:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date AddedRead Only:trueCreation Date of the Pricing Matrix. -
dateModified:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date ModifiedRead Only:trueLast Modified date of the Pricing Matrix. -
description:
string()
Title:
DescriptionDescription of the Pricing Matrix. -
groupAccessEnabled:
boolean()
Title:
Group Access EnabledRead Only:trueIndicates whether the user has access to the groups segment -
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 Matrix. -
priceModelCount:
integer()
Title:
Linked Pricing Models CountRead Only:trueThe count of price models linked to this pricing matrix. -
segmentLevelAccessType:
string()
Title:
Segment-level Access TypeRead Only:trueSegment-level Access Type -
template:
Pricing Matrix template
Title:
Pricing Matrix templateRead Only:truePricing Matrix template name and variableName -
templateVariableName(required):
string()
Title:
Pricing Matrix Template Variable NameVariable Name of the Pricing Matrix Template. -
variableName:
string()
Title:
Variable NameUnique Variable Name of the Pricing Matrix.
Nested Schema : Allowed Charge Definitions
Type:
arrayTitle:
Allowed Charge DefinitionsThe list of charge definitions that this pricing matrix will apply to.
Show Source
Nested Schema : Allowed Usage UOM
Title:
Allowed Usage UOMThe usage UOM lookup code that this pricing matrix will apply to.
Match All
The usage UOM lookup code that this pricing matrix will apply to.
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 : Pricing Matrix data
Title:
Pricing Matrix dataRead Only:
trueList of Pricing Matrix data.
Match All
List of Pricing Matrix data.
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 : Pricing Matrix template
Title:
Pricing Matrix templateRead Only:
truePricing Matrix template name and variableName
Match All
Pricing Matrix template name and variableName
Show Source
Nested Schema : PricingMenuItem
Type:
Show Source
object-
displayValue:
string()
Title:
Display ValueThe display value of the menu item. -
value:
string()
Title:
ValueThe raw value of the menu item.
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 : PricingResourceCollection_PricingMatrixData
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 : PricingMatrixData
Type:
Show Source
object-
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 Matrix data. -
dateModified:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date ModifiedRead Only:trueLast Modified date of the Pricing Matrix data. -
groupAccessEnabled:
boolean()
Title:
Group Access EnabledRead Only:trueIndicates whether the user has access to the groups segment -
id:
integer()
Title:
IdThe Unique Identifier of the Pricing Matrix 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. -
segmentLevelAccessType:
string()
Title:
Segment-level Access TypeRead Only:trueSegment-level Access Type
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
Response
Supported Media Types
- application/json
200 Response
Success
Root Schema : PricingMatrix
Type:
Show Source
object-
active:
boolean()
Title:
ActiveIndicates if the pricing matrix is active. -
allowedChargeDefinitions:
array Allowed Charge Definitions
Title:
Allowed Charge DefinitionsThe list of charge definitions that this pricing matrix will apply to. -
allowedUsageUOM:
Allowed Usage UOM
Title:
Allowed Usage UOMThe usage UOM lookup code that this pricing matrix will apply to. -
createdBy:
Created By
Title:
Created ByRead Only:trueThe details of the user who created the record. -
data:
Pricing Matrix data
Title:
Pricing Matrix dataRead Only:trueList of Pricing Matrix data. -
dateAdded:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date AddedRead Only:trueCreation Date of the Pricing Matrix. -
dateModified:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date ModifiedRead Only:trueLast Modified date of the Pricing Matrix. -
description:
string()
Title:
DescriptionDescription of the Pricing Matrix. -
groupAccessEnabled:
boolean()
Title:
Group Access EnabledRead Only:trueIndicates whether the user has access to the groups segment -
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 Matrix. -
priceModelCount:
integer()
Title:
Linked Pricing Models CountRead Only:trueThe count of price models linked to this pricing matrix. -
segmentLevelAccessType:
string()
Title:
Segment-level Access TypeRead Only:trueSegment-level Access Type -
template:
Pricing Matrix template
Title:
Pricing Matrix templateRead Only:truePricing Matrix template name and variableName -
templateVariableName(required):
string()
Title:
Pricing Matrix Template Variable NameVariable Name of the Pricing Matrix Template. -
variableName:
string()
Title:
Variable NameUnique Variable Name of the Pricing Matrix.
Nested Schema : Allowed Charge Definitions
Type:
arrayTitle:
Allowed Charge DefinitionsThe list of charge definitions that this pricing matrix will apply to.
Show Source
Nested Schema : Allowed Usage UOM
Title:
Allowed Usage UOMThe usage UOM lookup code that this pricing matrix will apply to.
Match All
The usage UOM lookup code that this pricing matrix will apply to.
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 : Pricing Matrix data
Title:
Pricing Matrix dataRead Only:
trueList of Pricing Matrix data.
Match All
List of Pricing Matrix data.
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 : Pricing Matrix template
Title:
Pricing Matrix templateRead Only:
truePricing Matrix template name and variableName
Match All
Pricing Matrix template name and variableName
Show Source
Nested Schema : PricingMenuItem
Type:
Show Source
object-
displayValue:
string()
Title:
Display ValueThe display value of the menu item. -
value:
string()
Title:
ValueThe raw value of the menu item.
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 : PricingResourceCollection_PricingMatrixData
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 : PricingMatrixData
Type:
Show Source
object-
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 Matrix data. -
dateModified:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date ModifiedRead Only:trueLast Modified date of the Pricing Matrix data. -
groupAccessEnabled:
boolean()
Title:
Group Access EnabledRead Only:trueIndicates whether the user has access to the groups segment -
id:
integer()
Title:
IdThe Unique Identifier of the Pricing Matrix 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. -
segmentLevelAccessType:
string()
Title:
Segment-level Access TypeRead Only:trueSegment-level Access Type
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 create a pricing matrix 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/pricingSetup/matrixes
Request Body Sample
{
"name": "NA Internet Data Usage Rate",
"variableName": "nAInternetDataUsageRate",
"templateVariableName": "internetDataTemplate",
"description": "U.S. Enterprise Discount"
}
Response Body Sample
{
"name": "New Call Rate Card",
"variableName": "newCallRateCard",
"description": "New phone call rate card.",
"active": true,
"templateVariableName": "zoomPhoneCallingTemplate",
"dateAdded": "2023-01-19T16:46:46Z",
"dateModified": "2023-01-19T16:46:46Z"
}