GET api/site/{id}/siteselltariff
This method returns the site level sell tariffs for the specified site
Note that
- Site must exist
- Make sure if the tariffs come from a package that these values are returned
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
None.
Response Information
Resource Description
SiteSellTariffViewName | Description | Type | Additional information |
---|---|---|---|
SiteId | The Site ID | integer |
None. |
LCRTariffName | The Least Cost Routing (Voice) tariff name | string |
None. |
MobileTariffName | The Mobile Tariff Name | string |
None. |
DataTariffName | The Data tariff name | string |
None. |
SCTariffName | The Service Charge tariff name | string |
None. |
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. |