Variation of Jomres REST API method for adding booking
Vince Wooll
The following variations to Jomres REST API method for adding new booking would simplify a lot the migration from legacy booking system ->Jomres
1)accepting room type instead of room number, Jomres already works in that way in a frontend reception booking, so you must have some function/method already doing it, that you could cut and paste.
2)set username in booking to be created as the username passed as parameter in POST
y
yubi
I've been testing the NBE and it is AMAZING... is exactly what we were needing! so much power, future and potential on it! please, keep working on it! and if there's a vote for a feature request on this matter I would vote for the gateway integration with the NBE... :) will it be easier if the integration with the gateway is made through the "redirect" method?
Vince Wooll
Original feature request 2017
I've posted the original comment here, however it references a much large question, namely "How can we leverage the (at that time new) REST API to make bookings?
When I first wrote the REST API I had hoped to convert the existing booking engine to use the REST API but the more I looked into it the more I realised that it was a big job because it required pulling the very complicated booking engine apart and putting it back together again. I decided at the time to put on hold those ideas and on hindsight, I'm glad I did. It was going to be a huge, time intensive job.
The REST API has had time to mature in the intervening years while I refined it for use in other projects but earlier this year I decided that it was time to start the work of creating the New Booking Engine (NBE) which you can see discussed here
I think that now is a good time to start talking about the what we can do moving forward. Some potential talking points are already addressed, for example making the booking form itself technology agnostic, so now I'm looking for other people's suggestions on how we can take this forward.