PUT api/cli/{id}/tariff
Update selected CLI level sell tariffs for the specified CLI
Note that
- CLI must exist
- Tariffs must be sell tariffs
- Sell Tariff must only be a Sell Tariff Type
- ServiceChargeSellTariff must only be a Service Charge Sell Tariff Type
- Consumer customer must have consumer tariffs
- Business customer can have consumer tariffs
- Tariffs supersede those set at site or package level, either before or after being set at CLI level
Error Messages
- 404/NotFound - CLI with id = X not found
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | CLI ID - The unique identifer for the CLI. | integer |
Required |
Body Parameters
CliTariffName | Description | Type | Additional information |
---|---|---|---|
SellTariff | The Sell Tariff to apply to the CLI | integer |
None. |
ServiceChargeSellTariff | TThe Service Charge Sell Tariff to apply to the CLI | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "SellTariff": 1, "ServiceChargeSellTariff": 1 }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.