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": "24b92521-085c-4254-ba8b-58bd25b37a7d",
    "Name": "sample string 3",
    "Operator": "sample string 4"
  },
  {
    "DataAllowance": 1,
    "Id": "24b92521-085c-4254-ba8b-58bd25b37a7d",
    "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>