The following workflows describe how the client can make hotel bookings, get booking details and cancel a booking.
This workflow consists of multiple web service methods. To help maintain and validate data, the client is given a sessionId valid for 30 minutes after being successfully logged in. These web service methods can be called multiple times using the same sessionId, except for Confirm Booking (ConfirmBooking) which can be called only once for each sessionId.
For each method, the client sends new inputs as well as some values from the previously performed method. To be able to perform a successful booking, the client should respect the order of methods calls as shown in figure.1 below; otherwise, errors may be returned.