Category:Developers: Difference between revisions
Jump to navigation
Jump to search
| Line 221: | Line 221: | ||
'''Example | '''Example: Link to a booking form with dates and room pre populated:''' | ||
https://www.beds24.com/booking2.php?checkin=2017-8-24&numnight=3&numadult=2&numchild=0&br1-32919=Book&roomid=32919 | https://www.beds24.com/booking2.php?checkin=2017-8-24&numnight=3&numadult=2&numchild=0&br1-32919=Book&roomid=32919 | ||
| Line 238: | Line 238: | ||
&roomid=32919 - exchange 32919 with the room id the guest wants to book | &roomid=32919 - exchange 32919 with the room id the guest wants to book | ||
'''Example: Booking form for a preselected room and dates''' | |||
Create a URL like this: | |||
https://www.beds24.com/booking2.php?propid=13434&checkin_hide=2016-11-24&numnight=2&numadult=1&br1-32906=Book | |||
You need to define: | |||
1) propid | |||
2) one of checkin or checkin_hide (different date formats) | |||
3) one of checkout, checkout_hide or numnight | |||
4) numadult and/or numchild | |||
5) br1-32906=Book where "br1 is offer 1, br2 is offer 2 etc. and 32906 is the room to book. | |||