The following JSON-RPC methods are supported (try these using the CarService test page):
- addToBasket(parameters)
- Adds the selected car to the basket
- clearIgnoredCars(parameters)
- Clears ignored cars in the session
- getAvailableCars(parameters)
- Gets available cars from the search criteria contained in the query string
- getAvailableCarsHtml(parameters)
- Get Available Cars Html
- getCarAvailabilityQuerystring(parameters)
- Gets the Availability querystring
- getCarQuote(parameters)
- Gets the quote for a car
- getCarQuoteHtml(parameters)
- Gets the quote for a car
- getCarQuoteQuerystring(parameters)
- Gets the quote querystring for a car
- getCarResultsQuerystring(parameters)
- Gets the Car Results Querystring
- getCarUpgradeQuerystring(parameters)
- Gets the upgrade querystring for a car
- getDepots(parameters)
- Gets depots for a search
- getDepotsHtml(parameters)
- Gets depots for a search
- hasSessionIgnoredCars(parameters)
- Returns true if there are ignored cars in the session
- ignoreCar(parameters)
- Records an ignored car'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