Search service
search
service description - under construction
| URL: | http://api.groundlink.com/searchservice/search.format |
| Formats: | xml, json, atom |
| Method(s): | POST |
Request
Request Definition: SearchRequest element
XML Example:
http://api.groundlink.com/searchservice/search.xml
<search-request>
<limo>
<type>0</type>
<pickup>
<location>
<name>12 5th Ave, New York, NY 10011, USA</name>
<address>12 5th Ave</address>
<city>New York</city>
<postal-code>10011</postal-code>
<region>NY</region>
<country>US</country>
<latitude>40.732555</latitude>
<longitude>-73.996483</longitude>
</location>
</pickup>
<destination>
<location>
<name>John F Kennedy Airport, United States</name>
<address></address>
<city></city>
<postal-code></postal-code>
<region>NY</region>
<country>US</country>
<latitude>40.6424805</latitude>
<longitude>-73.788071</longitude>
</location>
</destination>
<vehicle-type>LX</vehicle-type>
</limo>
</search-request>
Response
Returns: SearchResponse element
XML Example:
<search-response xmlns="http://api.groundlink.com/schema">
<limo-results>
<limo-result>
<vehicle-type>LX</vehicle-type>
<description></description>
<image-url>http://www.groundlink.com/images/vehicles/LX.png
</image-url>
<notice></notice>
<base-fare>59</base-fare>
<total-fare>74.26</total-fare>
</limo-result>
</limo-results>
</search-response>
