Fueltypes
This resource retrieves a list of fuel types. Requests for this resource use the HTTP GET method.
Request
This code block shows a search request for the fueltypes resource:
https://fuel.hereapi.com/v3/fuelTypes
?apiKey=\{YOUR\_API\_KEY\}Request Parameters
The following table documents both required and optional request parameters supported by the fueltypes resource.
| Parameter | Required | Description |
|---|---|---|
app_id - legacy | Yes | A-20 byte Base64 URL-safe encoded string used for the authentication of the client app. You must include authentication with every request. For more information on authentication, see the Identity and Access Management Developer Guide. |
app_code - legacy | Yes | A-20 byte Base64 URL-safe encoded string used for the authentication of the client app. You must include authentication with every request. For more information on authentication, see the Identity and Access Management Developer Guide. |
| apiKey | Yes | A 43-byte Base64 URL-safe encoded string used for the authentication of the client app. API Keys never expire but you can disable your API Keys at any time. You can't have more than two API Keys for one app at the same time. You must include an apiKey with every request. For more information on authentication, see the Identity and Access Management Developer Guide. |
locale | No | The two-letter language code in ISO 639-1 format, determines which language is in the response. Default: en. If the locale isn't supported, the response is empty. |
Response
For more information on responses to queries for the fueltype resource, see FuelStationsResultType response.
Updated 16 days ago