Fuel aggregator web service
From Awesome SOA project
Web Service 2 is Fuel aggregator web service. It is made for representing data - provides the lowest price and so on... Below you can see the list of methods with short description.
[edit] API Methods
- getPetrolStations
- Parameter out:
- returns the list of petrol stations
- Parameter out:
- getListOfCurrencies
- Parameter out:
- returns all available currencies
- Parameter out:
- getRegions
- Parameter out:
- returns all available regions (for example, Vilnius, Kaunas)
- Parameter out:
- getStationsTypes
- Parameter out:
- returns all station types (for example, Lukoil, Neste)
- Parameter out:
- getPrices
- Parameter in:
- Date - Wanted date, example 2007-05-22
- Parameter out:
- returns all petrol stations prices by providing exact date
- Parameter in:
- getPricesByRegion
- Parameter in:
- Date - Wanted date, example 2007-05-24
- Region - City in Region, example Vilnius
- Parameter out:
- returns all petrol stations prices by providing date and region
- Parameter in:
- getPetrolStationsByRegion
- Parameter in:
- Region - City in Region, example Vilnius
- Parameter out:
- returns all petrol stations for particular region
- Parameter in:
- getMinFuelPricesInRegion
- Parameter in:
- Date - Wanted date, example 2007-05-21
- Region - City in Region, example Vilnius
- Fuel - Fuel code, example 98
- Currency - Currency code, example USD
- Parameter out:
- returns cheapest price of particular fuel by exact date, region and currency
- Parameter in:
- getMinPricesInRegion
- Parameter in:
- Date - Wanted date, example 2007-05-20
- Region - City in Region, example Kaunas
- Currency - Currency code, example SEK
- Parameter out:
- returns cheapest prices of all types of fuel by proving region and currency
- Parameter in:
- getEachStationTypeMinPricesInRegionByFuelType
- Parameter in:
- Date - Wanted date, example 2007-05-21
- Region - City in Region, example Vilnius
- Fuel - Fuel code, example 98
- Currency - Currency code, example USD
- Parameter out:
- returns cheapest prices of particular type of stations and fuel by providing exact date, region and currency
- Parameter in:
- getDiscountsInStation
- Parameter in:
- Date - Wanted date, example 2007-05-21
- Id - Wanted petrol station id, example 45
- Parameter out:
- returns discounts for particular fuel station
- Parameter in:
- getPertolStationsByTypes
- Parameter in:
- Huckster - Fuel suppliers type, example Lukoil, Uno-X
- Parameter out:
- returns all fuel stations that belongs to one supplier
- Parameter in:
- getStationFuelPrices
- Parameter in:
- Date - Wanted date, example 2007-05-21
- Id - Wanted petrol station id, example 3
- Currency - Currency code, example USD
- Parameter out:
- returns all fuel prices in petrol station
- Parameter in:
[edit] External links
| Architecture |
|---|
| Database • Fuel collector web service • Fuel aggregator web service • User Interface |
| LB web services |

