the operator champion ™ since 2007

Example Response – Smart Search

The following is an example response for the Rezgo account with CID 1446.

Example XML Response

<?xml version="1.0" encoding="UTF-8"?>
<response>

<total>1</total>

<item>
 <num>1</num>
 <uid>72547</uid>
 <com>29438</com>
 <item><![CDATA[Family River Rafting]]></item>
 <option><![CDATA[8:00 am]]></option>
 <code><![CDATA[12345]]></code>
 <start_date>11</start_date>
 <end_date>1767168000</end_date>
 <time>8:00 AM</time>
 <updated>1469040498</updated>
 <tags>adventure,activity,water,rafting,nature</tags>
 <starting>129.00</starting>
 <group>request_name</group>
 <per></per>
 <cutoff>2</cutoff>
 <duration><![CDATA[5 hours]]></duration>
 <date_selection>always</date_selection>
 <block_size>5</block_size>
 <spaces>0</spaces>
 <currency_symbol>US $</currency_symbol>
 <currency_separator>,</currency_separator>
 <currency_decimals>2</currency_decimals>
 <currency_base>USD</currency_base>
 <location_name><![CDATA[Meeting Point is under 6th Street]]></location_name>
 <location_address><![CDATA[966 SW 6th St, Grants Pass, OR 97526, USA]]></location_address>
 <city><![CDATA[Grants Pass]]></city>
 <state><![CDATA[OR]]></state>
 <country><![CDATA[US]]></country>
 <lat>42.43179</lat>
 <lon>-123.332</lon>
 <zoom>14</zoom>
 <map_type>ROADMAP</map_type>
 <line_items>
 <line_item>
 <label><![CDATA[GST]]></label>
 <amount>0</amount>
 <percent>5</percent>
 <multi></multi>
 <tax>1</tax>
 </line_item>
 <line_item>
 <label><![CDATA[PST]]></label>
 <amount>0</amount>
 <percent>7.5</percent>
 <multi></multi>
 <tax>1</tax>
 </line_item>
 <line_item>
 <label><![CDATA[Land Use Fee]]></label>
 <amount>0</amount>
 <percent></percent>
 <multi>5.00</multi>
 <tax></tax>
 </line_item>
 <line_item>
 <label><![CDATA[Booking Fee]]></label>
 <amount>0</amount>
 <percent>5</percent>
 <multi></multi>
 <tax></tax>
 </line_item>
 </line_items>
 <details>
 <overview><![CDATA[ OVERVIEW CONTENT APPEARS HERE ]]></overview>
 <highlights><![CDATA[ HIGHLIGHTS CONTENT APPEARS HERE ]]></highlights>
 <itinerary><![CDATA[ ITINERARY CONTENT APPEARS HERE]]></itinerary>
 <pick_up><![CDATA[ PICK-UP CONTENT APPEARS HERE ]]></pick_up>
 <drop_off><![CDATA[ DROP OFF CONTENT APPEARS HERE ]]></drop_off>
 <bring><![CDATA[ THINGS TO BRING CONTENT APPEARS HERE ]]></bring>
 <inclusions><![CDATA[ INCLUSIONS CONTENT APPEARS HERE ]]></inclusions>
 <exclusions><![CDATA[ EXCLUSIONS CONTENT APPEARS HERE ]]></exclusions>
 <cancellation><![CDATA[ CANCELLATION CONTENT APPEARS HERE ]]></cancellation>
 <description_name><![CDATA[This is my custom field]]></description_name>
 <description><![CDATA[ CUSTOM CONTENT APPEARS HERE ]]></description>
 <specifications> 
 <specification> 
 <name><![CDATA[Product Type]]></name> 
 <value><![CDATA[Lessons]]></value> 
 </specification> 
 <specification> 
 <name><![CDATA[Hike Level]]></name> 
 <value><![CDATA[Easy]]></value> 
 </specification> 
 </specifications>
 </details>
 <seo>
 <seo_title><![CDATA[ SEO TITLE APPEARS HERE ]]></seo_title>
 <introduction><![CDATA[ META DESCRIPTION CONTENT APPEARS HERE ]]></introduction>
 </seo>
 <related value="2">
 <item>
 <com>79309</com>
 <name><![CDATA[Whitewater Adventure]]></name>
 </item>
 <item>
 <com>79634</com>
 <name><![CDATA[London Pub Crawl]]></name>
 </item>
 </related>
 <media value="3">
 <image>
 <path>https://s3.amazonaws.com/rezgo/1446/29438/68741.jpg</path>
 <caption><![CDATA[]]></caption>
 </image>
 <image>
 <path>https://s3.amazonaws.com/rezgo/1446/29438/68739.jpg</path>
 <caption><![CDATA[]]></caption>
 </image>
 <image>
 <path>https://s3.amazonaws.com/rezgo/1446/29438/68740.jpg</path>
 <caption><![CDATA[]]></caption>
 </image>
 </media>
 <cid>1446</cid>
</item>
<v>latest</v>
<gt>0.05382</gt>
</response>

Example JSON Response

{
 "total": "8",
 "item": [
 {
 "num": "1",
 "uid": "72547",
 "com": "29438",
 "item": "Family River Rafting",
 "option": "8:00 am",
 "code": "12345",
 "start_date": "11",
 "end_date": "1767168000",
 "time": "8:00 AM",
 "updated": "1469040498",
 "tags": "adventure,activity,water,rafting,nature",
 "starting": "129.00",
 "group": "request_name",
 "per": {},
 "cutoff": "2",
 "duration": "5 hours",
 "date_selection": "always",
 "block_size": "5",
 "spaces": "0",
 "currency_symbol": "US $",
 "currency_separator": ",",
 "currency_decimals": "2",
 "currency_base": "USD",
 "location_name": "Meeting Point is under 6th Street",
 "location_address": "966 SW 6th St, Grants Pass, OR 97526, USA",
 "city": "Grants Pass",
 "state": "OR",
 "country": "US",
 "lat": "42.43179",
 "lon": "-123.332",
 "zoom": "14",
 "map_type": "ROADMAP",
 "line_items": {
 "line_item": [
 {
 "label": "GST",
 "amount": "0",
 "percent": "5",
 "multi": {},
 "tax": "1"
 },
 {
 "label": "PST",
 "amount": "0",
 "percent": "7.5",
 "multi": {},
 "tax": "1"
 },
 {
 "label": "Land Use Fee",
 "amount": "0",
 "percent": {},
 "multi": "5.00",
 "tax": {}
 },
 {
 "label": "Booking Fee",
 "amount": "0",
 "percent": "5",
 "multi": {},
 "tax": {}
 }
 ]
 },
 "details": {
 "overview": " OVERVIEW CONTENT APPEARS HERE ",
 "highlights": " HIGHLIGHTS CONTENT APPEARS HERE ",
 "itinerary": " ITINERARY CONTENT APPEARS HERE ",
 "pick_up": " PICK UP CONTENT APPEARS HERE ",
 "drop_off": " DROP OFF CONTENT APPEARS HERE ",
 "bring": " THINGS TO BRING CONTENT APPEARS HERE ",
 "inclusions": " INCLUSIONS CONTENT APPEARS HERE ",
 "exclusions": " EXCLUSIONS CONTENT APPEARS HERE ",
 "cancellation": " CANCELLATION CONTENT APPEARS HERE ",
 "description_name": "This is my custom field",
 "description": " CUSTOM CONTENT APPEARS HERE ",
 "specifications": {
 "specification": [
 {
 "name": "Product Type",
 "value": "Lessons"
 },
 {
 "name": "Hike Level",
 "value": "Easy"
 }
 ]
 }
 },
 "seo": {
 "seo_title": " SEO TITLE CONTENT APPEARS HERE ",
 "introduction": " META DESCRIPTION APPEARS HERE "
 },
 "related": {
 "@attributes": {
 "value": "2"
 },
 "item": [
 {
 "com": "79309",
 "name": "Whitewater Adventure"
 },
 {
 "com": "79634",
 "name": "London Pub Crawl"
 }
 ]
 },
 "media": {
 "@attributes": {
 "value": "3"
 },
 "image": [
 {
 "path": "https:\/\/s3.amazonaws.com\/rezgo\/1446\/29438\/68741.jpg",
 "caption": {}
 },
 {
 "path": "https:\/\/s3.amazonaws.com\/rezgo\/1446\/29438\/68739.jpg",
 "caption": {}
 },
 {
 "path": "https:\/\/s3.amazonaws.com\/rezgo\/1446\/29438\/68740.jpg",
 "caption": {}
 }
 ]
 },
 "cid": "1446"
 }
 ],
 "v": "latest",
 "gt": "0.04145"
}

                            

Written by

Stephen is the CEO and Co-Founder of Rezgo. He has been working as a travel & tourism technology consultant since 1995. Stephen is active in fostering tourism technology and is a Past Chair of the OpenTravel Alliance. He is also a regular contributor to leading travel technology media sites such as Phocuswire and Skift, and speaks regularly at conferences around the Globe on travel technology, messaging standards, and industry trends. Find out more about Stephen on Linkedin.