GET Parameters (web redirection to the engine)

Modified on Wed, 23 Sep at 5:03 PM

How do they work?


These parameters are separated by an ampersand "&" and start with the sign "?".

https://engine.dominio-hotel.com/ca/hotel/ticker-hotel?primeraClave=valor&segundaClave=valor


It should be specified that the following text refers to the language subdirectory:

https://engine.dominio-hotel.com/ca/hotel/ticker-hotel?


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


- Spanish: es/ - https://engine.dominio-hotel.com/es/hotel/ticker-hotel?


- Catalan: ca/ - https://engine.dominio-hotel.com/ca/hotel/ticker-hotel? 


- English: en/ - https://engine.dominio-hotel.com/en/hotel/ticker-hotel? 


- French: fr/ - https://engine.dominio-hotel.com/fr/hotel/ticker-hotel? 


- etc.


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

  • &key=value


List of parameters


  • people (people selection)


Filters by people, sums adults, children, and infants


&people=n


Example: &people=2 would show lines with the occupations:


1 adult + 1 infant / 1 adult + 1 child / 2 adults.


Let's look at an example:

https://engine.dominio-hotel.com/ca/hotel/ticker-hotel?personas=3

 

  • adults (adults selection)


Filters by the number of adults, it will only show inventory lines that have n adults


&adults=n


&adults=* --> Shows all options


If we remove the "people" parameter, we can distinguish between adults and children.


Let's see an example with 3 adults:

https://engine.dominio-hotel.com/ca/hotel/ticker-hotel?adultos=2


  • children (children selection)

Filters by the number of children, it will only show inventory lines that have n children


&children=n


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


Let's see an example with 2 adults and 1 child:

https://engine.dominio-hotel.com/ca/hotel/ticker-hotel?adultos=2&ninos=1

 

  • infants (infants selection)

Filters by the number of infants, it will only show inventory lines that have n infants


&infants=n


Similarly, the infants parameter can be added to the URL by typing "&infants=n".


Let's see an example with 2 adults, 1 child, and 1 infant:

https://engine.dominio-hotel.com/ca/hotel/ticker-hotel?adultos=2&ninios=1&bebes=1


  • teenagers (teenagers selection)

Filters by the number of teenagers, it will only show inventory lines that have n teenagers


&teenagers=n


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


Let's see an example with 2 adults, 1 child, and 1 teenager:

https://engine.dominio-hotel.com/ca/hotel/ticker-hotel?adultos=2&ninios=1&teenagers=1


  • seniors (seniors selection)

Filters by the number of seniors, it will only show inventory lines that have n seniors


&seniors=n


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


Let's see an example with 2 adults and 1 senior:

https://engine.dominio-hotel.com/ca/hotel/ticker-hotel?adultos=2&seniors=1


  • Guest Ages


Filter the age of children/infants/teenagers


&guestAges=n


**Important** do not use simultaneously with the other parameters to filter occupancy, as it will sum up the occupancy.


Example: &child=2 &guestAges=8&guestAges=10  will search for occupancy for 4 children. 

 


  • check-in + nights (check-in date and nights selection)


By passing both parameters to the URL, we would show a date range, fini = start date and nights = number of nights.


&checkin=dd-mm-YYYY&nights=n

&checkin=dd-mm-YYYY&nights=n


Let's see an example with a three-night period in the first days of July:

https://engine.dominio-hotel.com/hotel/ticker-hotel?adultos=2&fini=01-07-2024&noches=3

 

  • accommodations (rooms)


The parameter is room?roomId= ( + accommodation ticker)


https://engine.prod.witbooking.com/hotel/ticketmotor/room?roomId=twin



  • check-in + check-out (check-in date and check-out date selection)


By passing both parameters to the URL, we would show a date range, fini = start date and fout = end date.


&checkin=dd-mm-YYYY&checkout=dd-mm-YYYY


Let's see an example with check-in on July 1st and check-out on July 7th:

https://engine.dominio-hotel.com/hotel/ticker-hotel?adultos=2&fini=01-07-2024&fout=07-07-2024

&datein=dd-mm-YYYY&dateout=dd-mm-YYYY


Let's see an example with check-in on July 1st and check-out on July 7th:

https://engine.dominio-hotel.com/hotel/ticker-hotel?adultos=2&datein=01-07-2024&dateout=07-07-2024


  • setconversion (currency selection)


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


&setconversion=CUR


&setconversion=GBP

&setconversion=USD

Let's see an example converting currency to dollars (USD):  

https://engine.dominio-hotel.com/hotel/ticker-hotel?adults=2&setconversion=USD



  • il_equal (filter by exact ticker)


Only inventory lines that are identical to the text provided will be displayed.


&il_equal=ticker -> individual search

&il_equal=ticker;ticker  -> multiple search


&il_equal=stand

&il_equal=stand;stand1a_SA_CG


Keep in mind that the adults, children, and/or infants filter must be adjusted when performing the search.


Let's see an example with a standard room for two adults, room only, and free cancellation:

https://engine.dominio-hotel.com/hotel/ticker-hotel?il_equal=stand_2a_SA_cg

 


  • il_like (filter by pattern)


Only inventory lines that match the provided ticker will be displayed.


&il_like=ticker  -> individual search

&il_like=ticker;ticker   -> multiple search (OR)


&il_like=SA

&il_like=SA;sta


Let's see an example with rooms that are SA (Room Only):

https://engine.dominio-hotel.com/hotel/ticker-hotel?people=2&il_like=SA


  • tab (filter by tab)


Filter by a tab created as an accommodation filter. (Request the tab ticker (ID) from Witbooking Support). 


&tab=ticker (tab ID)


Let's see an example:

https://engine.dominio-hotel.com/hotel/ticker-hotel?tab=ticker (tab ID)


  • tab+il_like / il_equal (filter by tab and pattern line or exact line)


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


&tab=tab-ticker&il_like=pattern-ticker will display all inventory lines that match the specified pattern and are within the corresponding tab. 

https://engine.dominio-hotel.com/hotel/ticker-hotel?tab=packages&il_like=rom_

&tab=tab-ticker&il_equal=exact-line-ticker will display the exact line indicated in il_equal that is within the corresponding tab. 

https://engine.dominio-hotel.com/hotel/ticker-hotel?tab=packages&il_equal=rom_2a_HD_cg


  • il_clean (clear filters)


Removes line filtering results from the session when using il_like or il_equal.


&il_clean=1


Let's see an example:

https://engine.dominio-hotel.com/hotel/ticker-hotel?people=2&il_clean=1



  • prom/rate_code (activate code or coupon)


Activate a promotional code or an inventory line access code.


&prom=code_name

&rate_code=code_name


Example:

https://engine.dominio-hotel.com/hotel/ticker-hotel?people=2&prom=code_name


  • affiliate (add an affiliate)

Add an affiliate to identify the source of the booking.


&affiliate=own_name


Bookings made with this parameter will be recorded in the report REPORTS > Bookings by concept: Agent. 


Example:

https://engine.dominio-hotel.com/hotel/ticker-hotel?affiliate=agency007

Use the "&" sign if it is not the first parameter in the URL. Example:

https://engine.dominio-hotel.com/hotel/ticker-hotel?rate_code=code_name&affiliate=agency007

Additionally, the affiliate will be visible on the booking voucher sent to all recipients.



  • origin (distinguish the booking origin)


&origin=text


Bookings made with this parameter will be recorded in Bookings > List > Column (Origin), so that it can be identified whether the booking comes from a travel blog, a campaign, etc.


Example:

https://engine.dominio-hotel.com/hotel/ticker-hotel?origin=blog

Once the booking is made with this URL, we will see the booking in the back office with the word "blog" in the origin column, keeping in mind that this is the text we have applied.



  • messageCode (code-protected web messages)


Activates a code-protected web message.


&messageCode=code_name


The parameter must be added to the URL of step 1 (step1). Example:

https://engine.dominio-hotel.com/hotel/ticker-hotel?messageCode=code_name

This way, you can configure URLs that activate web messages to share with specific clients. These messages can contain promo codes or specific information.

 


  • Aggregator, additional parameters


Aggregator Link: replace /hotel/ with /chain/

https://engine.dominio-hotel.com/chain/ticker-agregador?

Individual hotel link

https://engine.dominio-hotel.com/chain/ticker-agregator?hotel=individual_hotel_ticker1&[rest of parameters]

 

N hotels link

https://engine.dominio-hotel.com/chain/ticker-agregator?hotel=individual_hotel_ticker1,individual_hotel_ticker2 &[rest of parameters]

 


  • Date in with min release


datein=offset_2 


https://engine.dominio-hotel.com/hotel/ticker-hotel?datein=offset_2                                                                              


datein=offset_2

nights=4


A datein can be appended with a value offset_X where X is the number of days from today.


An example could be &offset_2 which would be two days from today (January 3rd), meaning January 5th as the check-in.


This can be combined with the nights parameter to determine the check-out, by adding a specified number of nights to the dynamically calculated check-in:


datein=offset_2&nights=4  would be, for example, check-in on January 5 and check-out on January 9.


https://engine.dominio-hotel.com/hotel/ticker-hotel?datein=offset_2&nights=4







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