We're hiring a full-stack PHP Developer. Click here for more.

powering tour and activity businesses worldwide

Example Response

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

Example XML Response

 
<?xml version="1.0" encoding="UTF-8"?>
<response>
 <company_name><![CDATA[Adventure Tours]]></company_name>
 <type>supplier</type>
 <domain>adventuredemo</domain>
 <primary_domain>booking.adventuredemo.com</primary_domain>
 <terms><![CDATA[ TERMS AND CONDITIONS CONTENT APPEARS HERE ]]></terms>
 <address_1><![CDATA[718-333 Brooksbank Avenue]]></address_1>
 <address_2><![CDATA[]]></address_2>
 <city><![CDATA[North Vancouver]]></city>
 <state_prov><![CDATA[BC]]></state_prov>
 <postal_code>V7J 3V8</postal_code>
 <country>ca</country>
 <phone>604-983-0083</phone>
 <fax></fax>
 <tax_id>GST# 123456789</tax_id>
 <email>adventuredemo@example.com</email>
 <map>
 <lat>49.30976479725757</lat>
 <lon>-123.04024457931519</lon>
 <zoom>18</zoom>
 </map>
 <email_1></email_1>
 <email_2></email_2>
 <email_3></email_3>
 <account_type>i</account_type>
 <currency_symbol>US $</currency_symbol>
 <currency_separator>,</currency_separator>
 <currency_decimals>2</currency_decimals>
 <currency_base> USD</currency_base>
 <using_gateway>0</using_gateway>
 <cards><![CDATA[Visa, MasterCard]]></cards>
 <payment_methods><![CDATA[Credit Cards, Cash]]></payment_methods>
 <payment>
 <method add="0"><![CDATA[Credit Cards]]></method><method add="0"><![CDATA[Cash]]></method>
 </payment>
 <paypal_email></paypal_email>
 <get_cvv>0</get_cvv>
 <date_format>d M Y</date_format>
 <time_format>+0</time_format>
 <start_week>mon</start_week>
 <header><![CDATA[ HTML HEADER CONTENT APPEARS HERE ]]header>
 <footer><![CDATA[ HTML FOOTER CONTENT APPEARS HERE ]]</footer>
 <styles><![CDATA[ CUSTOM STYLESHEET DECLARATIONS APPEAR HERE ]]></styles>
 <pages></pages>
 <site_status>1</site_status>
 <social>
 <twitter_name>rezgo</twitter_name>
 </social>
 <cart>1</cart>
 <trigger>1</trigger>
 <analytics_general><![CDATA[ GENERAL ANALYTICS CODE APPEARS HERE ]]></analytics_general>
 <v>latest</v>
 <gt>0.03626</gt>
</response>

Example JSON Response

{
 "company_name": "Adventure Tours",
 "type": "supplier",
 "domain": "adventuredemo",
 "primary_domain": "booking.adventuredemo.com",
 "terms": " TERMS AND CONDITIONS CONTENT APPEARS HERE ",
 "address_1": "718-333 Brooksbank Avenue",
 "address_2": {},
 "city": "North Vancouver",
 "state_prov": "BC",
 "postal_code": "V7J 3V8",
 "country": "ca",
 "phone": "604-983-0083",
 "fax": {},
 "tax_id": "GST# 123456789",
 "email": "adventuredemo@example.com",
 "map": {
 "lat": "49.30976479725757",
 "lon": "-123.04024457931519",
 "zoom": "18"
 },
 "email_1": {},
 "email_2": {},
 "email_3": {},
 "account_type": "i",
 "currency_symbol": "US $",
 "currency_separator": ",",
 "currency_decimals": "2",
 "currency_base": " USD",
 "using_gateway": "0",
 "cards": "Visa, MasterCard",
 "payment_methods": "Credit Cards, Cash",
 "payment": {
 "method": [
 "Credit Cards",
 "Cash"
 ]
 },
 "paypal_email": {},
 "get_cvv": "0",
 "date_format": "d M Y",
 "time_format": "+0",
 "start_week": "mon",
 "header": " HTML HEADER CONTENT APPEARS HERE ",
 "footer": " HTML FOOTER CONTENT APPEARS HERE ",
 "styles": " CUSTOM STYLESHEET CONTENT APPEARS HERE ",
 "pages": {},
 "site_status": "1",
 "social": {
 "twitter_name": "rezgo"
 },
 "cart": "1",
 "trigger": "1",
 "analytics_general": {},
 "v": "latest",
 "gt": "0.02877"
}


                            

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 for Tnooz, a leading travel technology media site, and speaks regularly at conferences around the Globe on travel & tourism technology, messaging standards, and industry trends.