Button using the date selection as a parameter for the url

Hi everybody, my client doesn’t not want to use Wix Hotels, they are working with Siteminder currently and they would like to keep working with them. It means that when you make a reservation, after filling your request for the dates, the site directs you to an outer website, using the date selection as a parameter for the url. So i need a date picker, button combination on the website only, that can generate a costum link using these parameters.
Does anybody an idea how can i do it? thanks a lot for you help !

You will probably need to look into using Wix Fetch.
https://support.wix.com/en/article/corvid-accessing-third-party-services-with-the-fetch-api
https://support.wix.com/en/article/corvid-calling-server-side-code-from-the-front-end-with-web-modules
https://www.wix.com/corvid/reference/wix-fetch.html

Also, look at HTTP Functions.
https://support.wix.com/en/article/corvid-exposing-a-site-api-with-http-functions
https://www.wix.com/corvid/reference/wix-http-functions.html

if your client is insisting on sticking with SiteMinder, then have a look at using their own API so that you can integrate it more easily with Wix and more securely too.
https://siteminder.atlassian.net/wiki/spaces/SITECONNECT/pages/1581991/Developer+Guide
https://help.siteminder.com/s/article/How-do-I-get-rates-API-in-the-booking-engine?language=en_US

thank you very much. Now I understand that i don’t have enough skills to deal with… thank you anyway !