Booking engine
To open the booking engine, to be able to make the reservation and pay for it, you need to open this url with some parameters:
https://tpv.icnea.net/reserves.aspx
The mandatory parameters are:
emp=3--> this is the company ID, it will be a 4-digits number, except for the testing environment
hot=1001 --> this is the property ID, it will be a 4-digits number
idi=2 --> this is the language ID
The optional parameters are:
ent=15/07/2021 --> arrival date
sor=20/07/2021 --> departure date
per=2 --> numer of people
sup=1 --> boolean to hide the header
So, for example, if we have a list of apartments, without any availability search, and we want to put a button to open the booking engine, but we want to open it in a new tab (as an external website), we will put:
https://tpv.icnea.net/reserves.aspx?emp=3&hot=1005&idi=2
If we have previously search in the website and we have the available apartments, and we want the booking button to open in the same website, we will create a page where there will be an iframe with all the parameters, with this:
https://tpv.icnea.net/reserves.aspx?emp=3&hot=1005&idi=2&ent=01/08/2021&sor=03/08/2021&per=2&sup=1
This basically skips the first steps in the booking engine (selecting dates and people) and goes directly to the form. With the "sup=1" it also hides the header, so that it can show correctly in an iframe.
List of languages:
ID | Language | ISO |
---|---|---|
1 | Catalan | ca |
2 | English | en |
3 | Spanish | es |
4 | French | fr |
5 | German | de |
6 | Italian | it |
7 | Portuguese | pt |
8 | Galician | ga |
9 | Euskara | eu |
11 | Russian | ru |
15 | Dutch | nl |