PUT api/package/{id}/tariffs
The purpose of this method is to update a tariff on a specified package
Error Messages
- 404/Not Found - Package with ID x not found
- 409/Conflict - Validation Error
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | The ID of the package to be updated | integer |
Required |
Body Parameters
PackageTariff| Name | Description | Type | Additional information |
|---|---|---|---|
| LCRTariff | The Voice Tariff ID | integer |
None. |
| MobileTariff | The Mobile Tariff ID | integer |
None. |
| DataTariff | The Data Tariff ID | integer |
None. |
| SCTariff | The Service Charge Tariff ID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"LCRTariff": 1,
"MobileTariff": 1,
"DataTariff": 1,
"SCTariff": 1
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.