PUT api/site/{id}/siteselltariff
This method update all the site level sell tariffs for the specified site
Error Messages
- 404/NotFound: Site with id = X not found - Specified ID is not assigned to a site
- 404/NotFound: No billing information found for site with id = X - No billing information on specified - This happens when data is deleted from the database and not just the front end
- 404/NotFound: Invalid voice tariff - Specified ID is not assigned to a voice tariff
- 404/NotFound: Invalid mobile tariff- Specified ID is not assigned to a mobile tariff
- 404/NotFound: Invalid data tariff- Specified ID is not assigned to a data tariff
- 404/NotFound: Invalid Service Charge tariff - Specified ID is not assigned to a Service Charge tariff
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | The unique identifier for the Site being queried. | integer |
Required |
Body Parameters
SiteSellTariffModifyName | 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.