Add a Rate Card Template
post
/rest/v19/pricingSetup/rateCardTemplates
Use this endpoint to add a rate card template.
Request
Supported Media Types
- application/json
Response
Supported Media Types
- application/json
200 Response
Success
Examples
The following example shows how to add a Rate Card 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/rateCardTemplates
Request Body Sample
{
"name": "Zoom Phone Calling Template",
"variableName": "zoomPhoneCallingTemplate",
"description": "New rate card template description."
}Response Body Sample
{
"name": "Zoom Phone Calling Template",
"variableName": "zoomPhoneCallingTemplate",
"active": true,
"description": "New rate card template description.",
"dateAdded": "2023-09-27T16:42:18Z",
"dateModified": "2023-09-27T16:42:18Z"
}