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:
- Search for
parkingwith a HERE Search-enabled client, for example around Berlin, Alexanderplatz. - Select a result and copy its place ID, such as
here:pds:place:276u33dc-46d77296c8810578be9fb4fcd3dad740for Am Alexandreplatz. - Use the place ID without the hrn:
276u33dc-46d77296c8810578be9fb4fcd3dad740and pass the remaining facility ID as anidquery parameter tofacilities/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.
| Parameter | Required | Description |
|---|---|---|
id | Yes | Specify 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. |
content | No | Controls the response data. dynamic returns dynamic data only. all returns both static and dynamic data. Default: dynamic. |
arrival | No | Expected 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. |
duration | No | Estimated parking duration in minutes. Valid range: 1 to 20,160 minutes. Required to calculate parking fees when content=all. |
Response
Note
If you omit
contentor set it todynamic, the response contains only dynamic availability data for each requested facility. For the response structure, see Parking Facilities Response.
Updated 21 days ago
Did this page help you?