How to retrieve facilities by ID

Send an HTTP GET request to the facilities/bulk resource to retrieve data for one or more parking facilities. By default, the response contains dynamic data; set content=all to include static data.

Request example

Use this command to retrieve facilities by ID in XML format:

curl --get \
  --header "Authorization: Bearer {YOUR_TOKEN}" \
  --data-urlencode "id=50859985" \
  --data-urlencode "id=50859984" \
  --data-urlencode "id=276u33db-e63737ae997c4a1ab5a19c50a63af49e" \
  "https://parking-v2.cc.api.here.com/parking/facilities/bulk.xml"

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/bulk.
📘

Note

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

Request parameters

The table lists the query parameters supported by the facilities/bulk resource.

ParameterRequiredDescription
idYesSpecify a facility ID or pvId. Repeat the id parameter for each facility (for example, id=A&id=B&id=C). The API ignores IDs that do not exist. Results are not guaranteed to match the order of the requested IDs. You can specify up to 50 IDs per request.
contentNoControls the response data. dynamic returns dynamic data only. all returns both static and dynamic data. Default: dynamic.
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.
Required to calculate parking fees.
durationNoEstimated parking duration in minutes. Valid range: 1 to 20,160 minutes. Required to calculate parking fees when content=all.

Response

📘

Note

If you omit content or set it to dynamic, the response contains only dynamic availability data for each requested facility. For the response structure, see Parking Facilities Response.


Did this page help you?