api/v1/tariffs

Method: GET https://simportal-api-staging.azurewebsites.net/api/v1/tariffs

Summary

Get a list of Tariffs

Request Information

URI Parameters

None.

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": "e35a21b8-192e-460a-b33e-6feac67c73c6",
    "Name": "sample string 3",
    "Operator": "sample string 4"
  },
  {
    "DataAllowance": 1,
    "Id": "e35a21b8-192e-460a-b33e-6feac67c73c6",
    "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>