Availability
GOCARS.online facilitates the automatic initiation of availability search through the transmission of GET or POST parameters, as outlined below. It is highly advisable to utilize GET (via an HTML form) whenever feasible to display the appending of query keys to the booking engine URL.
Supported parameters
| NAME | TYPE | REQUIRED | EXAMPLE |
|---|---|---|---|
| pickup_id | integer | YES | pickup_id=1 |
| return_id | integer | YES | return_id=1 |
| date_from | DD/MM/YYYY | YES | date_from=23/02/2024 |
| time_from | HH:MM | YES | time_from=12:00 |
| date_to | DD/MM/YYYY | YES | date_to=24/02/2024 |
| time_to | HH:MM | YES | time_to=12:00 |
| age_group_id | integer | YES | age_group_id=28 |
| vehicles_sort_by | string | NO | vehicles_sort_by=price_asc |
| vehicle_type | string | NO | vehicle_type=car |
| lang | string | NO | lang=el |
It is advisable to employ a date picker widget for Date form fields to enhance user-friendliness. An excellent option is the free and open-source datepicker provided by JQuery UI, which can be seamlessly integrated. For numeric parameters, select box fields are recommended. It’s important to note that not all fields, such as “rooms,” are mandatory and can be safely excluded from the form.
CAUTIONÂ
Do not forget to replace clientdemo.gocars.gr in the examples below with the real booking engine hostname.
If you don’t know the hostname yet, please contact GOCARS.online support.
ExamplesÂ
GET request with HTML form
<form action="https://clientdemo.gocars.gr/select" method="get">
<label for="pickup_id">Pick-up Location</label>
<select id="pickup_id" name="pickup_id">
<option value="1" selected>Corfu Airport</option>
<option value="3">Corfu Town</option>
<option value="13">Corfu Port</option>
<option value="12">Dassia</option>
</select>
<label for="return_id">Drop-off Location</label>
<select id="return_id" name="return_id">
<option value="1" selected>Corfu Airport</option>
<option value="3">Corfu Town</option>
<option value="13">Corfu Port</option>
<option value="12">Dassia</option>
</select>
<label for="date_from">Pick-up Date/Time</label>
<input id="date_from" name="date_from" placeholder="dd/mm/yyyy" value="15/05/2026">
<input id="time_from" name="time_from" placeholder="hh:mm" value="12:00">
<label for="date_to">Drop-off Date/Time</label>
<input id="date_to" name="date_to" placeholder="dd/mm/yyyy" value="15/06/2026">
<input id="time_to" name="time_to" placeholder="hh:mm" value="12:00">
<label for="age_group_id">Age Group</label>
<select id="age_group_id" name="age_group_id">
<option value="27">18-24</option>
<option value="28" selected>25-75</option>
<option value="29">76-85</option>
</select>
<label for="date_from">Pick-up Date/Time</label>
<input id="lang" name="lang" type="hidden" value="el">
</form>
GET request with Link
https://clientdemo.gocars.gr/select?pickup_id=1&return_id=1&date_from=23/02/2026&time_from=12:00&date_to=24/02/2026&time_to=12:00&age_group_id=28&vehicle_type=car
