Add a Pricing Matrix Template

post

/rest/v19/pricingSetup/matrixTemplates

Use this endpoint to create a pricing matrix template.

Request

Supported Media Types
Body ()
Root Schema : PricingMatrixTemplate
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : PricingMatrixTemplate
Type: object
Show Source
Back to Top

Examples

The following example shows how to create a pricing matrix template 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/matrixTemplates

Request Body Sample

{
  "name": "testMatrixABC1",
  "variableName": "testMatrixABC1",
  "templateType": "attributeBasedCharge",
  "description": "ABC matrix 1"
}

Response Body Sample

{
  "name": "testMatrixABC1",
  "variableName": "testMatrixABC1",
  "active": true,
  "description": "ABC matrix 1",
  "dateAdded": "2023-11-21T23:00:39Z",
  "dateModified": "2023-11-21T23:00:39Z",
  "templateType": "attributeBasedCharge"
}
Back to Top