Fuel stations response
The FuelStationsResultType structure is the top-level element in the responses to requests for the stations resource.
| Element | Data Type | Mandatory | Description |
|---|---|---|---|
total | Integer | Yes | Total number of stations within search area |
limit | Integer | Yes | Maximum number of stations in the response |
count | Integer | Yes | Number of stations returned. This parameter together with the offset and limit parameters in the query can be used for pagination. |
nextOffset | Integer | No | Next offset |
stations | FuelStationsListType | No | List of fuel stations. |
Real-time fuel prices in the response
If the real-time prices are available for the fuel station in the response, the following attributes represent the price:
price: The reported price for the fuel.deltaPrice: The difference between the price and the price for the cheapest station/fuel type pair for the specified geometry.indexScore: The relative ranking of the fuel station for the specified area.
This sample is in JSON format:
"fuelPrice": [
{
"price": 0.739,
"deltaPrice": 0.05,
"indexScore": 3,
"fuelType": "14",
"unit": "l",
"currency": "EUR",
"modified": "2014-02-01T07:05:59.000Z"
}
]For more information about the price representation in the responses, refer to FuelPriceType.