The following JSON-RPC methods are supported (try these using the DPService test page):
- addToBasket(parameters)
- Adds the selected package to the basket
- checkIfFlightInBasket(parameters)
- Checks if there is a flight in the basket
- clearIgnoredHotels(parameters)
- Clears ignored hotels in the session
- getAlternateFlightPackages(parameters)
- Gets alternative flight packages from the search criteria contained in the query string
- getAlternateFlightsQuerystring(parameters)
- Gets the alternate flights querystring for a package
- getAvailablePackages(parameters)
- Gets available packages from the search criteria contained in the query string
- getAvailablePackagesHtml(parameters)
- Gets available packages html from the search criteria contained in the query string
- getBasketFareRules(parameters)
- Gets basket fare rules for a fare
- getFareRules(parameters)
- Gets fare rules for a fare
- getFlightSelectedRedirectQuerystring(parameters)
- Gets the redirect querystring when flights selected
- getFlightStops(parameters)
- Gets the stops for a flight
- getFlightStopsHtml(parameters)
- Gets the html for flight Connection
- getHolidayResultRedirect(parameters)
- Gets URL redirect for holiday result
- getModalAlternateFlightsHtml(parameters)
- Gets the Html for the Modal Alternate Flights Html
- getPackageDetailsQuerystring(parameters)
- Gets the package details querystring
- getPackageQuote(parameters)
- Gets the package quote
- getPackageResultsQuerystring(parameters)
- Gets the Package Results Querystring
- getPackageResultsQuerystringFromAlternateFlights(parameters)
- Gets the Package Results Querystring from an Alternate Flights Querystring
- hasSessionIgnoredHotels(parameters)
- Returns true if there are ignored hotels in the session
- ignoreHotel(parameters)
- Records an ignored hotel's ID
- loadHiddenFlights(parameters)
- Loads the hidden flights for a fare
- loadHiddenFlightsHtml(parameters)
- Loads the hidden flights for a fare
- storeHotelAndContinue(parameters)
- Store chosen hotel details and continue to flight branded fares
- 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