How to retrieve facility details

Send an HTTP GET request to the facilities/{Id} resource to retrieve detailed information about one parking facility.

📘

Note

Facility IDs can change without notice. If the ID does not match a facility in the resource, the API returns 404 Not Found.

How to retrieve parking place using HERE Search

To retrieve parking data for a HERE Search result:

  1. Search for parking with a HERE Search-enabled client, for example around Berlin, Alexanderplatz.
  2. Select a result and copy its place ID, such as here:pds:place:276u33dc-46d77296c8810578be9fb4fcd3dad740 for Am Alexandreplatz.
  3. Use the place ID without the hrn: 276u33dc-46d77296c8810578be9fb4fcd3dad740 and pass the remaining facility ID as an id query parameter to facilities.
📘

Note

Not every HERE Search result has corresponding rich content in the HERE Off-Street Parking API.

Request example

The following command retrieves the XML representation of the parking facility. Replace {Id} with the facility ID.

curl --request GET \
  --header "Authorization: Bearer {YOUR_TOKEN}" \
  "https://parking-v2.cc.api.here.com/parking/facilities/{Id}.xml"
📘

Note

You can only request information for one parking Id at a time with this request.

Request parameters

The table below documents both mandatory and optional request parameters supported by this resource.

ParameterRequiredDescription
app_id - LegacyYesA-20 byte Base64 URL-safe encoded string used for the authentication of the client application. You must include an app_id and app_code with every request. For more information on authentication, see the Identity and Access Management Developer Guide.
app_code - LegacyYesA-20 byte Base64 URL-safe encoded string used for the authentication of the client application. You must include an app_id and app_code with every request. For more information on authentication, see the Identity and Access Management Developer Guide.
arrivalNoExpected arrival time at the destination, in UTC and formatted according to ISO 8601 (for example, 2015-04-02T15:40:00.000Z).
Defaults to the current time if omitted.
To get a calculated price for a specific arrival time and duration of stay, you must include both values in the request.
durationNoEstimated parking duration in minutes. Minimum value: 1, maximum value: 20160 (two weeks).
If no duration is specified, the value defaults to 2 hours (120).

Response

For more information on the responses to these kinds of queries, see Parking Facilities Response.


Did this page help you?