Add Pricing Matrix Template Column
post
/rest/v16/pricingSetup/matrixTemplates/{templateVarName}/columns
Use this endpoint to create a column for the specified pricing matrix template.
Request
Supported Media Types
- application/json
Path Parameters
Root Schema : PricingMatrixTemplateColumn
Type:
Show Source
object
-
active:
boolean()
Title:
Active
Indicates if the rate card template column is active. -
createdBy:
Created By
Title:
Created By
Read Only:true
The details of the user who created the record. -
dataType(required):
string()
Title:
Data Type
Allowed Values:[ "Boolean", "Currency", "String", "Decimal", "Date", "Integer" ]
Data Type of the Rate Card Template column. -
dateAdded:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date Added
Read Only:true
Creation Date of the Rate Card Template column. -
dateModified:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date Modified
Read Only:true
Last Modified date of the Rate Card Template column. -
defaultOverridable:
boolean()
Title:
Default Overridable
Indicates if the default value is overridable -
defaultValue:
string()
Title:
Default Value
Default Value of the Rate Card Template column. -
description:
string()
Title:
Description
Description of the Rate Card Template column. -
id:
integer()
Title:
Id
Read Only:true
The Unique Identifier of the Rate Card Template column. -
integrationId:
string()
Title:
Integration ID
Read Only:true
Identifier for the corresponding entity in QP. -
ioType:
string()
Title:
Input/Output Type
Allowed Values:[ "input", "output" ]
The Input/Output Type of the Pricing Matrix column. -
key:
boolean()
Title:
Active
Indicates if the rate card template column is a key. -
lastModifiedBy:
Last Modified By
Title:
Last Modified By
Read Only:true
The details of the user who modified the record. -
links:
array Links
Title:
Links
Read Only:true
The link relations associated with the resource instance. -
lookupType:
string()
Title:
Lookup Type
Lookup Type of the Rate Card Template column. -
lookupTypeLabel:
string()
Title:
Lookup Type Display Label
Read Only:true
The lookup type display label of the Rate Card Template column. -
name:
string()
Title:
Name
Name of the Rate Card Template column. -
negotiable:
boolean()
Title:
Negotiable
Indicates if the value stored in this rate card template column is negotiable. -
operator:
string()
Title:
Operator
Allowed Values:[ "none", "<", "<=", "Not =", "=", ">", ">=", "Contains", "Not Contains", "Starts With", "Not Starts With", "Ends With", "Not Ends With" ]
The operator to be applied on this Pricing Matrix column. -
orderNumber:
integer()
Title:
Order Number
The sequence number of the column in the template. -
pricingAttribute:
string()
Title:
Pricing Attribute
The pricing attribute refered to in this Pricing Matrix column. -
required:
boolean()
Title:
Required
Indicates if the value of this rate card template column is required. -
templateType:
string()
Title:
Template Type
Read Only:true
Allowed Values:[ "rateCard", "attributeBasedCharge" ]
The type of the parent Pricing Matrix Template. -
variableName:
string()
Title:
Variable Name
Variable Name of the Rate Card Template column. -
wildCardSupported:
boolean()
Title:
Wild Card Supported
Indicates if this column supports wild card values.
Nested Schema : Created By
Title:
Created By
Read Only:
true
The details of the user who created the record.
Match All
Show Source
Nested Schema : Last Modified By
Title:
Last Modified By
Read Only:
true
The details of the user who modified the record.
Match All
Show Source
Nested Schema : Links
Type:
array
Title:
Links
Read Only:
true
The link relations associated with the resource instance.
Show Source
Nested Schema : UserDetails
Type:
Show Source
object
-
emailId:
string()
Title:
Email Id
Email Id of the user -
firstName:
string()
Title:
First Name
First Name of the user -
lastName:
string()
Title:
Last Name
Last Name of the user
Response
Supported Media Types
- application/json
200 Response
Success
Root Schema : PricingMatrixTemplateColumn
Type:
Show Source
object
-
active:
boolean()
Title:
Active
Indicates if the rate card template column is active. -
createdBy:
Created By
Title:
Created By
Read Only:true
The details of the user who created the record. -
dataType(required):
string()
Title:
Data Type
Allowed Values:[ "Boolean", "Currency", "String", "Decimal", "Date", "Integer" ]
Data Type of the Rate Card Template column. -
dateAdded:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date Added
Read Only:true
Creation Date of the Rate Card Template column. -
dateModified:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date Modified
Read Only:true
Last Modified date of the Rate Card Template column. -
defaultOverridable:
boolean()
Title:
Default Overridable
Indicates if the default value is overridable -
defaultValue:
string()
Title:
Default Value
Default Value of the Rate Card Template column. -
description:
string()
Title:
Description
Description of the Rate Card Template column. -
id:
integer()
Title:
Id
Read Only:true
The Unique Identifier of the Rate Card Template column. -
integrationId:
string()
Title:
Integration ID
Read Only:true
Identifier for the corresponding entity in QP. -
ioType:
string()
Title:
Input/Output Type
Allowed Values:[ "input", "output" ]
The Input/Output Type of the Pricing Matrix column. -
key:
boolean()
Title:
Active
Indicates if the rate card template column is a key. -
lastModifiedBy:
Last Modified By
Title:
Last Modified By
Read Only:true
The details of the user who modified the record. -
links:
array Links
Title:
Links
Read Only:true
The link relations associated with the resource instance. -
lookupType:
string()
Title:
Lookup Type
Lookup Type of the Rate Card Template column. -
lookupTypeLabel:
string()
Title:
Lookup Type Display Label
Read Only:true
The lookup type display label of the Rate Card Template column. -
name:
string()
Title:
Name
Name of the Rate Card Template column. -
negotiable:
boolean()
Title:
Negotiable
Indicates if the value stored in this rate card template column is negotiable. -
operator:
string()
Title:
Operator
Allowed Values:[ "none", "<", "<=", "Not =", "=", ">", ">=", "Contains", "Not Contains", "Starts With", "Not Starts With", "Ends With", "Not Ends With" ]
The operator to be applied on this Pricing Matrix column. -
orderNumber:
integer()
Title:
Order Number
The sequence number of the column in the template. -
pricingAttribute:
string()
Title:
Pricing Attribute
The pricing attribute refered to in this Pricing Matrix column. -
required:
boolean()
Title:
Required
Indicates if the value of this rate card template column is required. -
templateType:
string()
Title:
Template Type
Read Only:true
Allowed Values:[ "rateCard", "attributeBasedCharge" ]
The type of the parent Pricing Matrix Template. -
variableName:
string()
Title:
Variable Name
Variable Name of the Rate Card Template column. -
wildCardSupported:
boolean()
Title:
Wild Card Supported
Indicates if this column supports wild card values.
Nested Schema : Created By
Title:
Created By
Read Only:
true
The details of the user who created the record.
Match All
Show Source
Nested Schema : Last Modified By
Title:
Last Modified By
Read Only:
true
The details of the user who modified the record.
Match All
Show Source
Nested Schema : Links
Type:
array
Title:
Links
Read Only:
true
The link relations associated with the resource instance.
Show Source
Nested Schema : UserDetails
Type:
Show Source
object
-
emailId:
string()
Title:
Email Id
Email Id of the user -
firstName:
string()
Title:
First Name
First Name of the user -
lastName:
string()
Title:
Last Name
Last Name of the user
Examples
The following example shows how to create pricing matrix template columns by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X POST - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json" https://sitename.oracle.com/rest/v16/pricingSetup/matrixTemplates/testMatrixTemp1/columns
Request Body Sample
{ "name": "To Country", "variableName": "toCountry", "dataType": "String", "defaultOverridable": false, "description": "To country.", "active": true, "negotiable": false, "required": false, "ioType": "input", "lookupType": "custom1_c", "pricingAttribute": "pricingEngineMainString", "operator": "=" }
Response Body Sample
{ "id": 3023092501, "name": "To Country", "variableName": "toCountry", "key": false, "dataType": "String", "lookupType": "custom1_c", "defaultOverridable": false, "description": "To country.", "active": true, "negotiable": false, "required": false, "dateAdded": "2023-11-27T15:30:25Z", "dateModified": "2023-11-27T15:30:25Z", "ioType": "input", "operator": "=", "pricingAttribute": "pricingEngineMainString" }