GET Witbooker Parameters

Modified on Thu, 28 Nov, 2024 at 2:15 PM

How do they work?

These parameters are separated by ampersand " &"  and initiated by the " ?" sign.

engine.hotel-demo.com/ticker-motor/es/availability?primeraClave=valor&segundaClave=valor


Please note that the following text refers to the language subdirectory: 

engine.hotel-demo.com/ticker-motor/es/availability?primeraClave=valor&segundaClave=valor

Below, we can see the specific subdirectories for the following languages as an example:


- English: en/ - engine.hotel-demo.com/ticker-motor/en/availability?

- Español: es/ - engine.hotel-demo.com/ticker-motor/es/availability?

- Français: fr/ - engine.hotel-demo.com/ticker-motor/fr/availability?

- etc.


Returning to the subject of parameters, each parameter, key or variable will have an ordered value as follows:  

  • & key = value

Parameter List

Select by persons

Filter by person, make the sum of adults, children and babies.

&personas=n

Example: &personas=2 it will shows correctly the follow occupancy:

1 adult + 1 baby / 1 adult + 1 children / 2 adults.

engine.hotel-demo.com/ticker-motor/es/availability?personas=2

Adults selection

Filter by number of adults, it will only show inventory lines that have   adults

&adultos=n

&adultos=* → Show all adult options.

If we remove the "persons" parameter, we can difference between adults and children. 

Let's look at an example with 3 adults:

engine.hotel-demo.com/ticker-motor/es/availability?adultos=3

Children

Filter by number of children, it will only show inventory lines that have   children.

&ninos=n

In this case we add the ampersand "&" to separate parameters and add “children=n”

An example with 2 adults and 1 children:

engine.hotel-demo.com/ticker-motor/es/availability?adultos=2&ninos=1


Babies

Filter by number of babies, it will only show the inventory lines that have n babies

&bebes=n

As the parameter “children”, the babies parameter can be added to the URL by setting "&babes=n"

An example with 2 adults, 1 child and 1 baby:

engine.hotel-demo.com/ticker-motor/es/availability?adultos=2&ninos=1&bebes=1

Teenagers / Juniors

Filter by number of juniors, it will only show the inventory lines that have n juniors.

&teenagers=n

In this case we add the "&" ampersand to separate parameters and add "teenagers=n"

An example with 2 adults and 1 child and 1 junior:

engine.hotel-demo.com/ticker-motor/es/availability?adultos=2&ninos=1&teenagers=1

Seniors

Filter by number of seniors, it will only show the inventory lines that have seniors.

&seniors=n

In this case we add the "&" ampersand to separate parameters and add "&seniors=n". 

An example with 2 adults and 1 senior:

engine.hotel-demo.com/ticker-motor/es/availability?adultos=2&senior=1

Guest Age

Filter the age of children / babies / juniors

&guestAges=n

** Important **  Do not use simultaneously with the other parameters to filter occupancy, it will duplicate occupancy.

Example: &nino=2 &guestAges=8 &guestAges=10 will seek occupancy for 4 children.

 

Entry date and nights

Passing both parameters to the URL  it would show a range of dates, fini = entry date and noches / nights = number of nights

&fini=DD-MM-YYYY&noches=n

&fini=DD-MM-YYYY&nights=n

An example with a time range of three nights in the first days of July:

engine.hotel-demo.com/ticker-motor/es/availability?adultos=2&fini=01-07-2014&noches=3

Entry and departure dates

Passing both parameters to the url it would show a range of dates, fini = start date and fout = end date

&fini=DD-MM-YYYY&fout=DD-MM-YYYY

An example with date of check-in on July 1 and check-out on July 7:

engine.hotel-demo.com/ticker-motor/es/availability?adultos=2&fini=01-07-2014&fout=07-07-2014

Date input and output

Passing both parameters to the URL it would show a range of dates, datein = start date and dateout = end date

&datein=DD-MM-YYYY&dateout=DD-MM-YYYY

An example:

engine.hotel-demo.com/ticker-motor/es/availability?adultos=2&datein=01-07-2014&dateout=07-07-2014

Currency selection

Select the currency and display all prices calculated in that currency.

&setconversion=DIV

&setconversion=GBP

&setconversion=USD

An example doing the monetary conversion to dollars (USD):

engine.hotel-demo.com/ticker-motor/es/availability?personas=2&setconversion=USD

 

Desktop / mobile view selection

Force the view of the engine regardless of the device and create a variable so that it does not change during the session.

&view=mobile      

&view=desktop

An example of the mobile version:

engine.hotel-demo.com/ticker-motor/es/availability?personas=2&view=mobile



Filter by exact line ticker

It would show only the inventory lines that match with the exact ticker the parameter pass.

& il_equal = ticker →  individual search

& il_equal = ticker; ticker → multiple search

& il_equal = stand

& il_equal = stand; stand1a_SA_CG

Consider that the filter for adults, children and / or babies must be adjusted for the search.

An example with a standard room for two adults, only accommodation and free cancellation:

engine.hotel-demo.com/ticker-motor/es/availability?personas=2&il_equal=stand_2a_SA_cg

 

- Filter by pattern line

It would show only the inventory lines that match in ticker with the pattern the parameter pass.

& il_like = ticker →  individual search

& il_like = ticker; ticker → multiple search

An example with the rooms that are SA (Accommodation Only):

engine.hotel-demo.com/ticker-motor/es/availability?personas=2&il_like=SA


Filter by tab 

Filter by a tab created as an accommodation filter. (ask Witbooking Support for the ticker of the tab). 

&tab=ticker-pestaña

Example:

engine.hotel-demo.com/ticker-motor/es/availability?&tab=ticker-pestaña


Filter by tab and pattern line or exact line


Filter line patterns (il_like) or a specific line (il_equal) that is within a tab for specific inventory lines: 


&tab=ticker-pestaña&il_like=ticker-patrón  will display all inventory lines that match the indicated pattern and are within the corresponding tab. 

engine.hotel-demo.com/ticker-motor/es/availability?&tab=paquetes&il_like=rom_


&tab=ticker-pestaña&il_equal=ticker-línea-exacta shall display the exact line indicated in il_equal that is within the corresponding tab. 

engine.hotel-demo.com/ticker-motor/es/availability?&tab=paquetes&il_equal=rom_2a_HD_cg


Clean filters

Clear the filtering of the result line when using il_like or il_equal

&il_clean=1

Example:

engine.hotel-demo.com/ticker-motor/es/availability?personas=2&il_clean=1

 

Clean promo codes saved in session

Deletes the promo codes of the session. If a new code is introduced on the same call it will be reapplied after deletion.

&prom_clean=1

 Example:

engine.hotel-demo.com/ticker-motor/es/availability?personas=2&prom_clean=1


- Activate promo code or coupon

Submit a URL with the promo code or an inventory line access code activated.

&prom=promocode_name

&cod_tarifa=code_name 

Example:

engine.hotel-demo.com/ticker-motor/es/availability?personas=2&prom=nombre_codigo

 

Add an affiliate

Add an affiliate to identify the origin of the reservation.

&affiliate=affiliate_name

Reservations made with this parameter will be registered in the REPORTS > Booking by concept > Concept: Agent. To make the reservation correctly, the parameter must be added in the URL of Step 1.

Example:

http://www.hotel-demo.com/v6/select/hoteldemo.com.v6/es/reservationsv6/step1?affiliate=agencia007

Use the sign "&" in case this is not the first URL parameter. 

Example: 

engine.hotel-demo.com/ticker-motor/es/availability?cod_tarifa=nombre_codigo&affiliate=agencia007

Additional, the affiliate is indicated on the booking voucher sent to all recipients.

 

- Origin (distinguishing the origin of the reservation)


&origin=text


Bookings made with this parameter will be registered in Bookings > List > Column (Origin), so that you can identify whether the booking comes from a travel blog, a campaign, etc. Example:


engine.hotel-demo.com/ticker-motor/es/availability?&origin=blog


Once the booking has been made with this URL, the booking will be displayed in the backoffice with the word blog in the origin column, taking into account that this is the text that we have applied.



- Message web protected by code

Activate a web message protected by code.

&messageCode=code_name

The parameter shall be added in the URL. Example:

engine.hotel-demo.com/ticker-motor/es/availability?&messageCode=code_name

In this way, it would configure URLs that activate web messages to share with certain customers, these messages may contain promo codes or specific information.

 

- Do not redirect in case of unavailability

It cancels the redirection in case of unavailability configured within the booking engine admin panel in Configuration > Behavior > URL in case of non-availability.

&unavailableURL=no_redirect

The parameter shall be added in the URL. Example:

engine.hotel-demo.com/ticker-motor/es/availability?&unavailableURL=no_redirect 

 - showCalendar=1 

This parameter automatically opens the availability calendar.

engine.hotel-demo.com/ticker-motor/es/availability?showCalendar=1

Aggregate, additionals parameters

Link Aggregator

engine.hotel-demo.com/ticker-agregador/es/availability?hotel=ticker_agregador&[parámetros]

Individual hotel link

engine.hotel-demo.com/ticker-agregador/es/availability?hotel=ticker_hotel_individual1&[resto de parámetros]

 

N hotels link

engine.hotel-demo.com/ticker-agregador/es/availability?hotel=ticker_hotel_individual1,ticker_hotel_individual2 &[resto de parámetros]

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article