The following JSON-RPC methods are supported (try these using the HotelService test page):
- addToBasket(parameters)
- Adds the selected hotel rooms to the basket
- clearIgnoredHotels(parameters)
- Clears ignored hotels in the session
- getAvailableHotels(parameters)
- Gets available hotels from the search criteria contained in the query string
- getAvailableHotelsHtml(parameters)
- Gets available hotels html from the search criteria contained in the query string
- getHotelQuoteQuerystring(parameters)
- Gets the quote querystring for a hotel
- getHotelResultsQuerystring(parameters)
- Gets the Hotel Results Querystring
- hasSessionIgnoredHotels(parameters)
- Returns true if there are ignored hotels in the session
- ignoreHotel(parameters)
- Records an ignored hotel's ID
- system.about()
- Returns a summary about the server implementation for display purposes.
- system.listMethods()
- Returns an array of method names implemented by this service.
- system.version()
- Returns the version server implementation using the major, minor, build and revision format.
The following method(s) of this service are marked as idempotent and therefore safe for use with HTTP GET:
- system.about
- system.listMethods
- system.version