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": "898f2305-dca0-4910-a04b-cd997a8e4711",
    "Name": "sample string 3",
    "Operator": "sample string 4"
  },
  {
    "DataAllowance": 1,
    "Id": "898f2305-dca0-4910-a04b-cd997a8e4711",
    "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>