Login | Register

Function: Get Pricing

The Coach Hire system uses set locations.

<?xml version='1.0' encoding='utf-8'?>
     <username>Sandbox User</username>

To break this down: Let's look at each tag and what is required;

Tag Format Notes
<username> string Name of User making request (optional)
<getAjaxData> N/A This says the API is requesting some data be returned
<getFor> string This value indicates the data requested is for Location

Data Returned - Pricing:

Here the return.

Callback : {
  "code": 200,
  "count": 1,
  "data": [{
    "place_name": " Aintree Racecourse",
    "place_desc": "",
    "place_addr": "",
    "lat": "53.4750268",
    "lng": "-2.952388",
    "miles": "5",
    "pre_arrival": "0",
    "post_arrival": "0",
    "category": "Sporting Venues"