Update Charge Definition

patch

/rest/v16/pricingSetup/chargeDefinitions/{code}

Use this endpoint to update the specified pricing charge definition.

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : PricingChargeDefinition
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

204 Response

Success
Back to Top

Examples

The following examples show how to update the specified Charge Definition by submitting a PATCH request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl - X PATCH - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json"
https://sitename.oracle.com/rest/v16/pricingSetup/chargeDefinitions/newChargeDefinition_c

Request Body Sample

{
  "name": "New Charge Definition",
  "description": "Charge Definition for New Charge",
  "active": false,
  "integrationId": "QP_NEW_CHARGE_DEFINITION"
}
Back to Top