api/v1/tariffs/{id}/boltons

Method: GET https://simportal-api-staging.azurewebsites.net/api/v1/tariffs/{id}/boltons

Summary

Get a list of Tariff Bolt-Ons available for the specific Tariff

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The unique id of a Tariff

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of TariffModel
NameDescriptionTypeAdditional information
DataAllowance

integer

None.

Id

globally unique identifier

None.

Name

string

None.

Operator

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "DataAllowance": 1,
    "Id": "0f8e14d0-dec2-4207-81fd-db5e3198d5b8",
    "Name": "sample string 3",
    "Operator": "sample string 4"
  },
  {
    "DataAllowance": 1,
    "Id": "0f8e14d0-dec2-4207-81fd-db5e3198d5b8",
    "Name": "sample string 3",
    "Operator": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfTariffModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SimPortalApi.Controllers">
  <TariffModel />
  <TariffModel />
</ArrayOfTariffModel>