the operator champion ™ since 2007

Example Response – Date 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>3</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>0</per>
 <cutoff>2</cutoff>
 <duration><![CDATA[5 hours]]></duration>
 <date_selection>always</date_selection>
 <date value="2017-08-02">
 <active>1</active>
 <availability>24</availability>
 <max_availability>150</max_availability>
 <price_adult>237.5</price_adult>
 <price_child>170.63</price_child>
 </date>
 <adult_label><![CDATA[Adult]]></adult_label>
 <child_label><![CDATA[Child (5-11 yrs)]]></child_label>
 <senior_label><![CDATA[]]></senior_label>
 <price4_label><![CDATA[]]></price4_label>
 <price5_label><![CDATA[]]></price5_label>
 <price6_label><![CDATA[]]></price6_label>
 <price7_label><![CDATA[]]></price7_label>
 <price8_label><![CDATA[]]></price8_label>
 <price9_label><![CDATA[]]></price9_label>
 <adult_required>1</adult_required>
 <child_required>0</child_required>
 <senior_required>0</senior_required>
 <price4_required>0</price4_required>
 <price5_required>0</price5_required>
 <price6_required>0</price6_required>
 <price7_required>0</price7_required>
 <price8_required>0</price8_required>
 <price9_required>0</price9_required>
 <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>
 <total_adult>0</total_adult>
 <total_child>0</total_child>
 <total_senior>0</total_senior>
 <total_price4>0</total_price4>
 <total_price5>0</total_price5>
 <total_price6>0</total_price6>
 <total_price7>0</total_price7>
 <total_price8>0</total_price8>
 <total_price9>0</total_price9>
 <sub_total>0</sub_total>
 <taxes>0</taxes>
 <tax_calc>0</tax_calc>
 <overall_total>0</overall_total>
 <deposit></deposit>
 <deposit_value></deposit_value>
 <total_availability>24</total_availability>
<group_forms>
<form>
<id>0</id>
<type>checkbox_price</type>
<title><![CDATA[Custom Photo Package]]></title>
<instructions><![CDATA[]]></instructions>
<require>0</require>
<options><![CDATA[]]></options>
<price>+30</price>
</form>
<form>
<id>1</id>
<type>checkbox_price</type>
<title><![CDATA[Lunch Add-on]]></title>
<instructions><![CDATA[Would you like the featured lunch?]]></instructions>
<require>0</require>
<options><![CDATA[]]></options>
<price>+25</price>
</form>
<form>
<id>2</id>
<type>select</type>
<title><![CDATA[Life Jacket Size]]></title>
<instructions><![CDATA[Please choose your life jacket size]]></instructions>
<require>0</require>
<options><![CDATA[S, M, L, XL]]></options>
<price></price>
</form>
<form>
<id>3</id>
<type>text</type>
<title><![CDATA[Weight]]></title>
<instructions><![CDATA[Enter participant's weight in pounds.]]></instructions>
<require>1</require>
<options><![CDATA[]]></options>
<price></price>
</form>
<form>
<id>4</id>
<type>select</type>
<title><![CDATA[Do you have food allergies?]]></title>
<instructions><![CDATA[]]></instructions>
<require>1</require>
<options><![CDATA[Yes,No]]></options>
<price></price>
</form>
</group_forms>
<primary_forms>
<form>
<id>0</id>
<type>select</type>
<title><![CDATA[Pick-up Location]]></title>
<instructions><![CDATA[Choose your hotel and pick-up time.]]></instructions>
<require>0</require>
<options><![CDATA[Hyatt (9:00am),Hilton (9:15),Marriot (9:30),Hyatt (10:00)]]></options>
<price></price>
</form>
<form>
<id>1</id>
<type>select</type>
<title><![CDATA[How did you hear about us?]]></title>
<instructions><![CDATA[]]></instructions>
<require>1</require>
<options><![CDATA[Alaska Guide,Homer Guide,Newspaper,Google,Word of Mouth,Friend Referral,Social Media]]></options>
<price></price>
</form>
</primary_forms>
 <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.04255</gt>
</response>

Example JSON Response

{
 "total": "3",
 "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": "0",
 "cutoff": "2",
 "duration": "5 hours",
 "date_selection": "always",
 "date": {
 "@attributes": {
 "value": "2017-08-02"
 },
 "active": "1",
 "availability": "24",
 "max_availability": "150",
 "price_adult": "237.5",
 "price_child": "170.63"
 },
 "adult_label": "Adult",
 "child_label": "Child (5-11 yrs)",
 "senior_label": {},
 "price4_label": {},
 "price5_label": {},
 "price6_label": {},
 "price7_label": {},
 "price8_label": {},
 "price9_label": {},
 "adult_required": "1",
 "child_required": "0",
 "senior_required": "0",
 "price4_required": "0",
 "price5_required": "0",
 "price6_required": "0",
 "price7_required": "0",
 "price8_required": "0",
 "price9_required": "0",
 "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": {}
 }
 ]
 },
 "total_adult": "0",
 "total_child": "0",
 "total_senior": "0",
 "total_price4": "0",
 "total_price5": "0",
 "total_price6": "0",
 "total_price7": "0",
 "total_price8": "0",
 "total_price9": "0",
 "sub_total": "0",
 "taxes": "0",
 "tax_calc": "0",
 "overall_total": "0",
 "deposit": {},
 "deposit_value": {},
 "total_availability": "24",
 "group_forms": {
 "form": [
 {
 "id": "0",
 "type": "checkbox_price",
 "title": "Custom Photo Package",
 "instructions": {},
 "require": "0",
 "options": {},
 "price": "+30"
 },
 {
 "id": "1",
 "type": "checkbox_price",
 "title": "Lunch Add-on",
 "instructions": "Would you like the featured lunch?",
 "require": "0",
 "options": {},
 "price": "+25"
 },
 {
 "id": "2",
 "type": "select",
 "title": "Life Jacket Size",
 "instructions": "Please choose your life jacket size",
 "require": "0",
 "options": "S, M, L, XL",
 "price": {}
 },
 {
 "id": "3",
 "type": "text",
 "title": "Weight",
 "instructions": "Enter participant's weight in pounds.",
 "require": "1",
 "options": {},
 "price": {}
 },
 {
 "id": "4",
 "type": "select",
 "title": "Do you have food allergies?",
 "instructions": {},
 "require": "1",
 "options": "Yes,No",
 "price": {}
 }
 ]
 },
 "primary_forms": {
 "form": [
 {
 "id": "0",
 "type": "select",
 "title": "Pick-up Location",
 "instructions": "Choose your hotel and pick-up time.",
 "require": "0",
 "options": "Hyatt (9:00am),Hilton (9:15),Marriot (9:30),Hyatt (10:00)",
 "price": {}
 },
 {
 "id": "1",
 "type": "select",
 "title": "How did you hear about us?",
 "instructions": {},
 "require": "1",
 "options": "Alaska Guide,Homer Guide,Newspaper,Google,Word of Mouth,Friend Referral,Social Media",
 "price": {}
 }
 ]
 },
 "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.04256"
}

 

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.