How do i create my own booking widget for my chain hotel. The parameters need to pass to an external URL.

The checkin, checkout date, no. of adults, no. of rooms, no. of minors need to be passed into an url of this format. https://www.myhotel.com/state/city/propcode/rate?checkInDate=“year”-“month”-“day”&checkOutDate=“year”-“month”-“day”&adults="n umberofadults"&minors=“numberofminors”
In the above url, things in quotations will be the parameters I would pull from the booking widget. I cannot use the booking widget provided by wix as it links to only there own booking engine.