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
Path Parameters
Body ()
Root Schema : PricingMatrixTemplateColumn
Type: object
Show Source
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 : UserDetails
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : PricingMatrixTemplateColumn
Type: object
Show Source
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 : UserDetails
Type: object
Show Source
Back to Top

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"
}
Back to Top