PATCH api/servicechargetype/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id ID number of the Service Charge Type integer

Required

Body Parameters

ServiceChargeTypeModify
NameDescriptionTypeAdditional information
CategoryId Specify the corresponding ID for the Category type of the Service Charge integer

None.

RecurringChargeType Specify the Service Charge Type string

String length: inclusive between 0 and 50

DefaultSalePrice Specify the default sale price of the Service Charge Type. decimal number

None.

DefaultCost Specify the default cost of the Service Charge Type. This can only be set when the View Default Cost permission is enabled decimal number

None.

Rental Specify whether the Service Charge Type is a rental boolean

None.

Nominal Specify the associated nominal code string

String length: inclusive between 0 and 50

Suppress Specify whether the customer bill will display the Service Charge if the value is 0 boolean

None.

DefaultBaseLineCost Specify the default Baseline cost. This can only be set when the View Default Baseline Cost permission is enabled decimal number

None.

FrequencyTypeId Specify the ID that corresponds to the desired frequency to which the Service Charge will be billed. ID 1 = Annual ID 2 = Monthly ID 3 = One off ID 4 = Quarterly integer

None.

RefundRental Specify whether a new charges should have there refund rental flag set boolean

None.

ChargeOutstanding This is used to indicate how new charges created should have there Charge Outstanding rental flag set boolean

None.

BackDatable Specify whether the Charge start date is within 120 days of the Service Charge start date boolean

None.

DaysInAdvance integer

None.

MonthsInAdvance Specify the number of monnths in advance the Service Charge will be billed integer

None.

DefaultDescription Specify a descriptive name for the Service Charge string

String length: inclusive between 0 and 100

TaxCode Specify the Tax to which the Service Charge falls under string

String length: inclusive between 0 and 10

Transfer If you flag a charge as a transfer, this charge will signify when service starts boolean

None.

TerminationDays The amount of days to charge following a termination integer

None.

WLR Specify whether the Service Charge will have a WLR charge boolean

None.

WLRLine Specify whether the Service Charge will have a WLR Line Rental charge boolean

None.

TechFundValue Specify the value of the Tech Fund - a fund used to accrue a notional monetary value (pot) within a customer contract decimal number

None.

Contract Specify whether this Service Charge will be part of a contract boolean

None.

TerminationCharge Any termination charges to pay if the charge is terminated boolean

None.

ExtraCLIs Specify the number of extra CLIs for this Service Charge integer

None.

FreeMinutesPlan Specify the Free Minute Plan to assign to this Service Charge integer

None.

Hardware Indicate shwether this Service Charge Type is hardware boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CategoryId": 1,
  "RecurringChargeType": "sample string 1",
  "DefaultSalePrice": 1.0,
  "DefaultCost": 1.0,
  "Rental": true,
  "Nominal": "sample string 2",
  "Suppress": true,
  "DefaultBaseLineCost": 1.0,
  "FrequencyTypeId": 1,
  "RefundRental": true,
  "ChargeOutstanding": true,
  "BackDatable": true,
  "DaysInAdvance": 1,
  "MonthsInAdvance": 1,
  "DefaultDescription": "sample string 3",
  "TaxCode": "sample string 4",
  "Transfer": true,
  "TerminationDays": 1,
  "WLR": true,
  "WLRLine": true,
  "TechFundValue": 1.0,
  "Contract": true,
  "TerminationCharge": true,
  "ExtraCLIs": 1,
  "FreeMinutesPlan": 1,
  "Hardware": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.