Add Rate Card Template Column

post

/rest/v16/pricingSetup/rateCardTemplates/{templateVarName}/columns

Use this enpoint to add a rate card template column.

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 add a Rate Card Template column 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/rateCardTemplates/zoomPhoneCallingTemplate/columns

Request Body Sample

  "name": "From Country",
  "variableName": "fromCountry",
  "key": true,
  "dataType": "String",
  "lookupType": null,
  "defaultValue": "US",
  "defaultOverridable": true,
  "description": "From Country column",
  "negotiable": false,
  "required": true
}

Response Body Sample

{
  "name": "From Country",
  "variableName": "fromCountry",
  "key": true,
  "dataType": "String",
  "defaultValue": "US",
  "defaultOverridable": true,
  "description": "From Country column",
  "active": true,
  "negotiable": false,
  "required": true,
  "dateAdded": "2023-09-27T17:51:20Z",
  "dateModified": "2023-09-27T17:51:20Z"
}
Back to Top