Tariscope 4.6.Tariscope API guide
Tariscope API Methods
13. tariffs.time
This is a GET request that allows you to get the parameters of a specific tariff depending on the time.
Request parameters:
- parametersid – tariff parameter identifier.
Data that Tariscope should return on request:
- id - record identifier.
- tariffid - tariff parameter identifier.
- daytype – day type.
- timefrom – time the tariff starts.
- timeto – time until which the tariff is valid.
- tariff – tariff value.
- minimumcost – minimum cost of the call.
Example of a query to get all tariffs of a provider with ID = 2439::
http://localhost:8085/api/tariffs/time?parametersid=2439