ParkWhiz API: Reserve

Create a ParkWhiz reservation.

Use of the /reserve method is restricted to ParkWhiz Resellers. Please contact ParkWhiz to become a reseller.

Request:

http://api.parkwhiz.com/reserve/ POST

Parameters:

Required parameters are bold.

key string
ParkWhiz public API key
secret_key string
ParkWhiz secret API key
id integer
listing_id of the parking to reserve
start integer
Start time of the parking to reservation, expressed as a Unix timestamp
end integer
End time of the parking to reservation, expressed as a Unix timestamp
email string
Email address of the customer. The customer will access their reservation with their email address, so it is essential that this is correct.
customer_name string
The first and last name of the customer.
Example call:
http://api.parkwhiz.com/reserve/?id=5003&start=1276012800&end=1276201800&email=jon@parkwhiz.com&customer_name=API+example&key=62d882d8cfe5681234fa849286b6ce20&secret_key=6fa1bb5fc3218199735a75d523b97963
Returns:
reservation_id
ID of the ParkWhiz reservation
ticket_url
URL for one-click access to the parking pass. This URL should not be shared with anyone but the customer.
customer_price
The public price of the parking purchased
reseller_price
The amount that the reseller must remit to ParkWhiz (customer_price minus reseller discount)
Example response:
{
	"reservation_id": "16961",
	"ticket_url": "http:\/\/www.parkwhiz.com\/ticket\/16961\/?u=f3211acf",
	"customer_price": 33.86,
	"reseller_price": 32.47
}