Update a usage rate override

patch/usage-rate-overrides/{assignmentLevel}/{usage_rate_override_id}
SecuritybearerAuth
Request
path Parameters
assignmentLevel
required
string

Assignment level to be updated - CUSTOMER, SITE or INVENTORY

Enum: "CUSTOMER" "SITE" "INVENTORY"
usage_rate_override_id
required
integer <int64> (IdParam) >= 1

Usage rate override identifier

Example: 1
Request Body schema: application/json-patch+json

A set of JSONPatch operations to be performed

Array
op
required
string

The JSON Patch operation to be performed

Enum: "add" "remove" "replace" "move" "copy" "test"
path
required
string

A JSON-Pointer

value
object

The value to be used within the operations

from
string

A string containing a JSON Pointer value

Responses
200

Success

400

Invalid Request

401

Unauthorized

403

Forbidden

404

Not Found

Request samples
application/json-patch+json
[
  • {
    • "op": "add",
    • "path": "string",
    • "value": { },
    • "from": "string"
    }
]
Response samples
application/json
{
  • "id": 1,
  • "assignmentLevel": "CUSTOMER",
  • "usageProductId": 1,
  • "supplierId": 1,
  • "chargeGroupId": 1,
  • "variableChargeUnitSize": 60,
  • "quantityRoundingIncrement": 1,
  • "startDate": "2019-08-24",
  • "appliesToISDNOnly": false,
  • "endDate": "2019-08-24",
  • "peakValue": 0,
  • "offPeakValue": 0,
  • "weekendValue": 0,
  • "peakMinimumCharge": 0,
  • "offPeakMinimumCharge": 0,
  • "weekendMinimumCharge": 0,
  • "peakInitialCharge": 0,
  • "offPeakInitialCharge": 0,
  • "weekendInitialCharge": 0,
  • "peakInitialChargePeriod": 0,
  • "offPeakInitialChargePeriod": 0,
  • "weekendInitialChargePeriod": 0,
  • "customerId": 1,
  • "applyThisToChildren": true
}