the operator champion ™ since 2007

Example Response – Tag Search

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

Example XML Response

<response>
    <total>4</total>
    <item>
        <num>1</num>
        <uid>143424</uid>
        <com>29438</com>
        <provider>150</provider>
        <item>
            <![CDATA[ Family River Rafting ]]>
        </item>
        <option>
            <![CDATA[ 10:00 am ]]>
        </option>
        <code>
<![CDATA[ 12345 ]]>
</code>
        <time>10:00 AM</time>
        <availability_type>date</availability_type>
        <start_date>11</start_date>
        <end_date>1767168000</end_date>
        <tags>adventure,activity,water,rafting,nature</tags>
        <starting>129.00</starting>
        <group>request_name</group>
        <per>0</per>
        <cutoff>24</cutoff>
        <duration>
            <![CDATA[ 5 hours ]]>
        </duration>
        <date_selection>always</date_selection>
        <date value="2020-08-01">
            <active>1</active>
            <availability>30</availability>
            <max_availability>30</max_availability>
            <price_adult>250.00</price_adult>
            <price_child>175.00</price_child>
        </date>
        <prices>
            <price>
                <id>1</id>
                <type>price_adult</type>
                <label>
                    <![CDATA[ Adult ]]>
                </label>
                <required>1</required>
                <retail>250.00</retail>
                <margin>250</margin>
            </price>
            <price>
                <id>2</id>
                <type>price_child</type>
                <label>
                    <![CDATA[ Child ]]>
                </label>
                <required>0</required>
                <retail>175.00</retail>
                <margin>175</margin>
            </price>
        </prices>
        <adult_label>
            <![CDATA[ Adult ]]>
        </adult_label>
        <child_label>
            <![CDATA[ Child ]]>
        </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>
        <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/>
                <meta/>
                <tax>1</tax>
            </line_item>
            <line_item>
                <label>
                    <![CDATA[ PST ]]>
                </label>
                <amount>0</amount>
                <percent>7.5</percent>
                <multi/>
                <meta/>
                <tax>1</tax>
            </line_item>
            <line_item>
                <label>
                    <![CDATA[ Land Use Fee ]]>
                </label>
                <amount>0</amount>
                <percent/>
                <multi>5.00</multi>
                <meta/>
                <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_value/>
        <total_availability>30</total_availability>
        <group_forms>
            <form>
                <id>0</id>
                <type>checkbox_price</type>
                <title>
                    <![CDATA[ Custom Photo Package ]]>
                </title>
                <instructions>
                    <![CDATA[ ]]>
                </instructions>
                <require>0</require>
                <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>
                <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/>
            </form>
            <form>
                <id>3</id>
                <type>text</type>
                <title>
                    <![CDATA[ Weight ]]>
                </title>
                <instructions>
                    <![CDATA[ Enter participant's weight in pounds. ]]>
                </instructions>
                <require>1</require>
                <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/>
            </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/>
            </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/>
            </form>
        </primary_forms>
        <details>
            <overview>
                <![CDATA[
<p>This is the overview of the trip and can be as long as you like.&nbsp; We generally recommend that you add lots of rich descriptive text in the overview since this area is indexed by the search engines.</p> <div id="selenium-highlight">&nbsp;</div> <div id="selenium-highlight">&nbsp;</div>
]]>
            </overview>
            <highlights>
                <![CDATA[
<p>These are some highlights.</p> <div id="selenium-highlight">&nbsp;</div> <div id="selenium-highlight">&nbsp;</div>
]]>
            </highlights>
            <itinerary>
                <![CDATA[
<ul> <li>Meet at the starting point</li> <li>Raft for 30-45 minutes</li> <li>Stop for lunch</li> <li>Raft for 45 -1 hr.</li> <li>Pick up at designated point</li> </ul> <div id="selenium-highlight">&nbsp;</div> <div id="selenium-highlight">&nbsp;</div>
]]>
            </itinerary>
            <pick_up>
                <![CDATA[
<p>Please arrive at least 30 minutes prior to the tour time to ensure proper gear assignment.</p> <div id="selenium-highlight">&nbsp;</div> <div id="selenium-highlight">&nbsp;</div>
]]>
            </pick_up>
            <drop_off>
                <![CDATA[
<p>You will be returned to the starting point by van.</p> <div id="selenium-highlight">&nbsp;</div> <div id="selenium-highlight">&nbsp;</div>
]]>
            </drop_off>
            <bring>
                <![CDATA[
<ul> <li>Camera (waterproof)</li> <li>Extra change of clothes and shoes</li> </ul> <div id="selenium-highlight">&nbsp;</div> <div id="selenium-highlight">&nbsp;</div>
]]>
            </bring>
            <inclusions>
                <![CDATA[
<p>Transportation down the river and back to the starting point. Lunch is also included.</p> <div id="selenium-highlight">&nbsp;</div> <div id="selenium-highlight">&nbsp;</div>
]]>
            </inclusions>
            <exclusions>
                <![CDATA[
<p>This should be a list of things that might be assumed to be included but are not. For example, if the itinerary says there is a break for lunch but you do not supply lunch, then it should be specified here.</p> <div id="selenium-highlight">&nbsp;</div> <div id="selenium-highlight">&nbsp;</div>
]]>
            </exclusions>
            <checkin>
                <![CDATA[ ]]>
            </checkin>
            <cancellation>
                <![CDATA[
<p>This cancellation is in addition to the terms and conditions, so you only need to specify a cancellation for this tour if the terms are different from your standard terms.</p> <div id="selenium-highlight">&nbsp;</div> <div id="selenium-highlight">&nbsp;</div>
]]>
            </cancellation>
            <description_name>
                <![CDATA[ This is my custom field ]]>
            </description_name>
            <description>
                <![CDATA[
<p>If you have additional information you would like to share but the content does not apply to any of the existing fields, then this is a useful field for that content.</p> <div id="selenium-highlight">&nbsp;</div> <div id="selenium-highlight">&nbsp;</div>
]]>
            </description>
            <specifications>
                <specification>
                    <name>
                        <![CDATA[ Difficulty Level ]]>
                    </name>
                    <value>
                        <![CDATA[ Intermediate ]]>
                    </value>
                </specification>
            </specifications>
        </details>
        <waiver type="1">1</waiver>
        <seo>
            <seo_title>
                <![CDATA[ Family Rafting - WOO HOO! ]]>
            </seo_title>
            <introduction>
                <![CDATA[
This is a brief introduction of your tour and is used as the meta description on your tour details page.
]]>
            </introduction>
        </seo>
        <media value="1">
            <image>
                <path>
                    https://s3.amazonaws.com/rezgo/1446/29438/176263.jpg
                </path>
            </image>
        </media>
        <updated>1554917025</updated>
        <cid>1446</cid>
    </item>
    <item>
    ...
    </item>
    <v>latest</v>
    <gt>0.06209</gt>
</response>

Example JSON Response

{
    "total": "1",
    "item": {
        "num": "1",
        "uid": "143426",
        "com": "29438",
        "provider": "150",
        "item": "Family River Rafting",
        "option": "2:00 pm",
        "code": "12345",
        "time": "2:00 PM",
        "availability_type": "date",
        "start_date": "11",
        "end_date": "1767168000",
        "tags": "adventure,activity,water,rafting,nature",
        "starting": "129.00",
        "group": "request_name",
        "per": {},
        "cutoff": "24",
        "duration": "5 hours",
        "date_selection": "always",
        "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": {},
                    "meta": {},
                    "tax": "1"
                },
                {
                    "label": "PST",
                    "amount": "0",
                    "percent": "7.5",
                    "multi": {},
                    "meta": {},
                    "tax": "1"
                },
                {
                    "label": "Land Use Fee",
                    "amount": "0",
                    "percent": {},
                    "multi": "5.00",
                    "meta": {},
                    "tax": {}
                }
            ]
        },
        "details": {
            "overview": "<p>This is the overview of the trip and can be as long as you like.&nbsp; We generally recommend that you add lots of rich descriptive text in the overview since this area is indexed by the search engines.<\/p>\n<div id=\"selenium-highlight\">&nbsp;<\/div>\n<div id=\"selenium-highlight\">&nbsp;<\/div>",
            "highlights": "<p>These are some highlights.<\/p>\n<div id=\"selenium-highlight\">&nbsp;<\/div>\n<div id=\"selenium-highlight\">&nbsp;<\/div>",
            "itinerary": "<ul>\n<li>Meet at the starting point<\/li>\n<li>Raft for 30-45 minutes<\/li>\n<li>Stop for lunch<\/li>\n<li>Raft for 45 -1 hr.<\/li>\n<li>Pick up at designated point<\/li>\n<\/ul>\n<div id=\"selenium-highlight\">&nbsp;<\/div>\n<div id=\"selenium-highlight\">&nbsp;<\/div>",
            "pick_up": "<p>Please arrive at least 30 minutes prior to the tour time to ensure proper gear assignment.<\/p>\n<div id=\"selenium-highlight\">&nbsp;<\/div>\n<div id=\"selenium-highlight\">&nbsp;<\/div>",
            "drop_off": "<p>You will be returned to the starting point by van.<\/p>\n<div id=\"selenium-highlight\">&nbsp;<\/div>\n<div id=\"selenium-highlight\">&nbsp;<\/div>",
            "bring": "<ul>\n<li>Camera (waterproof)<\/li>\n<li>Extra change of clothes and shoes<\/li>\n<\/ul>\n<div id=\"selenium-highlight\">&nbsp;<\/div>\n<div id=\"selenium-highlight\">&nbsp;<\/div>",
            "inclusions": "<p>Transportation down the river and back to the starting point. Lunch is also included.<\/p>\n<div id=\"selenium-highlight\">&nbsp;<\/div>\n<div id=\"selenium-highlight\">&nbsp;<\/div>",
            "exclusions": "<p>This should be a list of things that might be assumed to be included but are not. For example, if the itinerary says there is a break for lunch but you do not supply lunch, then it should be specified here.<\/p>\n<div id=\"selenium-highlight\">&nbsp;<\/div>\n<div id=\"selenium-highlight\">&nbsp;<\/div>",
            "checkin": {},
            "cancellation": "<p>This cancellation is in addition to the terms and conditions, so you only need to specify a cancellation for this tour if the terms are different from your standard terms.<\/p>\n<div id=\"selenium-highlight\">&nbsp;<\/div>\n<div id=\"selenium-highlight\">&nbsp;<\/div>",
            "description_name": "This is my custom field",
            "description": "<p>If you have additional information you would like to share but the content does not apply to any of the existing fields, then this is a useful field for that content.<\/p>\n<div id=\"selenium-highlight\">&nbsp;<\/div>\n<div id=\"selenium-highlight\">&nbsp;<\/div>",
            "specifications": {
                "specification": {
                    "name": "Difficulty Level",
                    "value": "Intermediate"
                }
            }
        },
        "waiver": "1",
        "seo": {
            "seo_title": "Family Rafting - WOO HOO!",
            "introduction": "This is a brief introduction of your tour and is used as the meta description on your tour details page."
        },
        "media": {
            "@attributes": {
                "value": "1"
            },
            "image": {
                "path": "https:\/\/s3.amazonaws.com\/rezgo\/1446\/29438\/176263.jpg"
            }
        },
        "updated": "1554917025",
        "cid": "1446"
    },
    "v": "latest",
    "gt": "0.04502"
}

Written by

The author didnt add any Information to his profile yet