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": "5dd3fd4a-952e-4f13-887f-05c0a000aaab",
    "Name": "sample string 3",
    "Operator": "sample string 4"
  },
  {
    "DataAllowance": 1,
    "Id": "5dd3fd4a-952e-4f13-887f-05c0a000aaab",
    "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>