Search Page

Adding query parameters to the base ParkWhiz url enables routing to pre-filtered search results.


Routing#

Changing the route allows for greater customization of what visual content is returned on the search page. Some query parameters will require the use of an additional route to function properly.

Destination Title#

To change the destination title within the location listing (i.e. the “Parking Near [Location]” title), add the route /destination/{name}, with name being a dash or space separated, capitalized phrase of your choice.

warning

Entirely lowercase titles separated with dashes will result in the page redirecting to a 404.

https://www.parkwhiz.com/destination/My-Custom-Title/?start=2021-11-27T11:30:00-06:00&end=2021-11-27T12:30:00-06:00&lat=41.875662&lng=-87.6297777

Query Parameters#

ParameterTypeDescriptionRequires Destination Title Route
couponStringCoupon code, auto-applied at checkoutx
endISO 8601 TimestampParking End Time, with offset
latFloatThe latitude of the destination
lngFloatThe longitude of the destination
location_idList[Integer]Arrive Location ID(s)
pwaStringAffiliate Codex
seller_idList[Integer]Arrive Seller ID(s)
startISO 8601 TimestampParking Start Time, with offset
tm_event_idStringTicketmaster Event IDx

Affiliate and Coupon#

Use these options to attribute purchases from the web link to your partner association. Both affiliate codes and coupons do not need to be paired with a destination title route and apply over all link types.

Affiliate codes must be used to track affiliate bookings and revenue in the Affiliate Portal transactional system. The affiliate code will look something similar to pa-23 or 5d849483 and can be found within the Affiliate Portal.

ParameterTypeDescription
couponStringCoupon code, auto-applied at checkout
pwaStringAffiliate Code
<a href="https://www.parkwhiz.com/?coupon=#{coupon}&pwa=#{affiliate_code}">
Buy Discounted Parking on ParkWhiz
</a>

Geolocation#

Geolocation options control the location in which to search parking. Without a start and/or end time inputted the search page will default to the current time, rounded to the nearest half hour, with a duration of 2 hours.

ParameterTypeDescription
latFloatThe latitude of the destination
lngFloatThe longitude of the destination
<a href="https://www.parkwhiz.com/destination/Chicago-Parking/?lat=41.875662&lng=-87.6297777">
Chicago Parking
</a>

Try It Out!

ParameterValue
https://www.parkwhiz.com/destination/Chicago-Parking/?lat=41.875662&lng=-87.6297777

Example Geolocation Button

ID#

ID options can filter what results show based on seller, destination, or event. Filtering off of an event does not require the Destination Title route.

ParameterTypeDescription
location_idList[Integer]Arrive Location ID(s)
seller_idList[Integer]Arrive Seller ID(s)
tm_event_idStringTicketmaster Event ID
<a href="https://www.parkwhiz.com/destination/Chicago-Parking/?lat=#{lat}&long=#{long}&start=#{start}&end=#{end}&location_id=#{location_id}">
Chicago Parking at Specified Location
</a>
<a href="https://www.parkwhiz.com/destination/Chicago-Parking/?lat=#{lat}&long=#{long}&start=#{start}&end=#{end}&seller_id=#{seller_id}">
Chicago Parking at Specified Seller
</a>
<a href="https://www.parkwhiz.com/?tm_event_id=#{tm_event_id}">
Parking for Ticketmaster Event
</a>

Try It Out!

ParameterValue
https://www.parkwhiz.com/destination/Chicago-Parking/?start=2021-04-15T20:51:06.523Z&end=2021-04-15T23:51:06.523Z&location_id=4197&seller_id=602&lat=41.875662&lng=-87.6297777

Example Seller and Location Filters

Time#

Time options filter what results show by when the user is looking to book parking. Time options must be used with a Destination Title route as well as the lat and lng query parameters.

info

Your start and end times should be formatted with offset, e.g. YYYY-MM-DDTHH:MM-HH:MM

ParameterTypeDescription
endISO 8601 TimestampParking End Time, with offset
startISO 8601 TimestampParking Start Time, with offset
<a href="https://www.parkwhiz.com/destination/Chicago-Parking/?lat=#{lat}&lng=#{long}&start=#{start}&end=#{end}">
Chicago Parking at Specified Location
</a>

Try It Out!

ParameterValue
https://www.parkwhiz.com/destination/Chicago-Parking/?start=2021-04-15T20:51:06.523Z&end=2021-04-15T23:51:06.523Z&lat=41.875662&lng=-87.6297777

Example Seller and Location Filters

Last updated on by David Gwizdala