Constructing a Request
A request to the Off-Street Parking API includes the basic elements shown in the following table and resource-specific parameters.
Element | Value/Example | Description |
---|---|---|
Base URL | | Production environment |
Path | | |
Resource | Uses Uses Uses | |
Format specifier | | We recommended that you specify whether you expect XML or JSON output. The default output format is XML. |
Parameters (examples) | ||
Bearer token | | For more information on authentication, see the Identity & Access Management Developer Guide. |
Application Code - Legacy | | Substitute your own unique |
Application Id - Legacy | | Substitute your own unique |
The following example query uses the HTTP GET method to retrieve a list of parking facilities within 10km of a point in Berlin.
curl
https://parking-v2.cc.api.here.com/parking/facilities.json
?prox=52.516667,13.383333,10000
-H "Authorization: Bearer {YOUR_TOKEN}"