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

powering tour and activity businesses worldwide

Example Request

The following is an example request for company information for the Rezgo account with CID 1446.  This example uses a manual “Cash” transaction.

For XML

<?xml version="1.0" encoding="UTF-8"?>
<request>
	<transcode>1446</transcode>
	<key>4U6-S6M2-T1V6-Y7M</key>
	<instruction>commit</instruction>
	<booking>
		<date>2015-03-26</date>
		<book>72547</book>
		<adult_num>2</adult_num>
		<child_num>1</child_num>
		<senior_num>0</senior_num>
		<tour_group>
			<adult num="1">
				<first_name>Samuel</first_name>
				<last_name>Jackson</last_name>
			</adult>
			<adult num="2">
				<first_name>John</first_name>
				<last_name>Smith</last_name>
			</adult>
			<child num="1">
				<first_name>Sally</first_name>
				<last_name>Smith</last_name>
			</child>
		</tour_group>
	</booking>
	<payment>
		<tour_first_name>Samuel</tour_first_name>
		<tour_last_name>Jackson</tour_last_name>
		<tour_address_1>123 Elm Street</tour_address_1>
		<tour_address_2>Suite 456</tour_address_2>
		<tour_city>Grand Rapids</tour_city>
		<tour_stateprov>Michigan</tour_stateprov>
		<tour_country>US</tour_country>
		<tour_postal_code>49501</tour_postal_code>
		<tour_phone_number>616-555-6677</tour_phone_number>
		<tour_email_address>sam.jackson@example.com</tour_email_address>
		<payment_method>Cash</payment_method>
		<agree_terms>1</agree_terms>
		<ip>10.28.107.230</ip>
		<refid>test</refid>
	</payment>
</request>

 

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.