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> <booking> <trans_num>2V2A3I6C5D</trans_num> <order_code>4I2R9F7X3K5M7J1C</order_code> <checkin>10510721977</checkin> <item_id>29438</item_id> <cid>1446</cid> <tour_name><![CDATA[Family River Rafting Adventure]]></tour_name> <option_name><![CDATA[8:00 am]]></option_name> <availability_type>date</availability_type> <date>1416384000</date> <time>0</time> <date_range>1416384000</date_range> <date_purchased>1415391506</date_purchased> <date_purchased_local>1415391480</date_purchased_local> <note><![CDATA[]]></note> <updated>1416857958</updated> <prices> <price_adult>66</price_adult> <base_prices> <price_adult>38</price_adult> </base_prices> </prices> <adult_num>2</adult_num> <adult_label><![CDATA[Adult (21 yrs.+)]]></adult_label> <pax>2</pax> <spaces>2</spaces> <currency_symbol>US $</currency_symbol> <currency_separator>,</currency_separator> <currency_decimals>2</currency_decimals> <currency_base>USD</currency_base> <sub_total>66</sub_total> <fees></fees> <line_items> <line_item> <label><![CDATA[Booking Fee]]></label> <amount>3.3</amount> <percent>5</percent> <multi></multi> <tax></tax> </line_item> <line_item> <label><![CDATA[Sales Tax]]></label> <amount>2.08</amount> <percent>3</percent> <multi></multi> <tax>1</tax> </line_item> </line_items> <triggered_fees> <total_triggered_fees>2</total_triggered_fees> <triggered_fee> <label><![CDATA[Custom Photo Package]]></label> <amount></amount> <total_amount>60</total_amount> </triggered_fee> <triggered_fee> <label><![CDATA[Lunch Add-on]]></label> <amount></amount> <total_amount>50</total_amount> </triggered_fee> </triggered_fees> <first_name><![CDATA[John]]></first_name> <last_name><![CDATA[Doe]]></last_name> <address_1><![CDATA[123 Anywhere]]></address_1> <address_2><![CDATA[]]></address_2> <city><![CDATA[Some Town]]></city> <stateprov><![CDATA[CA]]></stateprov> <country>us</country> <postal_code>90210</postal_code> <phone_number><![CDATA[604-555-5555]]></phone_number> <email_address><![CDATA[Stephen@thejoyces.org]]></email_address> <passengers> <passenger> <type num="1">adult</type> <first_name><![CDATA[Jane]]></first_name> <last_name><![CDATA[Doe]]></last_name> <phone_number><![CDATA[]]></phone_number> <email_address><![CDATA[]]></email_address> <total_forms>5</total_forms> <forms> <form num="1"> <id>0</id> <type>checkbox_price</type> <question><![CDATA[Custom Photo Package]]></question> <answer><![CDATA[on]]></answer> </form> <form num="2"> <id>1</id> <type>checkbox_price</type> <question><![CDATA[Lunch Add-on]]></question> <answer><![CDATA[on]]></answer> </form> <form num="3"> <id>2</id> <type>select</type> <question><![CDATA[Life Jacket Size]]></question> <answer><![CDATA[S]]></answer> </form> <form num="4"> <id>3</id> <type>text</type> <question><![CDATA[Weight]]></question> <answer><![CDATA[170]]></answer> </form> <form num="5"> <id>4</id> <type>checkbox</type> <question><![CDATA[21 Years and Over]]></question> <answer><![CDATA[on]]></answer> </form> </forms> </passenger> <passenger> <type num="2">adult</type> <first_name><![CDATA[Jim]]></first_name> <last_name><![CDATA[Doe]]></last_name> <phone_number><![CDATA[]]></phone_number> <email_address><![CDATA[]]></email_address> <total_forms>5</total_forms> <forms> <form num="1"> <id>0</id> <type>checkbox_price</type> <question><![CDATA[Custom Photo Package]]></question> <answer><![CDATA[on]]></answer> </form> <form num="2"> <id>1</id> <type>checkbox_price</type> <question><![CDATA[Lunch Add-on]]></question> <answer><![CDATA[on]]></answer> </form> <form num="3"> <id>2</id> <type>select</type> <question><![CDATA[Life Jacket Size]]></question> <answer><![CDATA[S]]></answer> </form> <form num="4"> <id>3</id> <type>text</type> <question><![CDATA[Weight]]></question> <answer><![CDATA[180]]></answer> </form> <form num="5"> <id>4</id> <type>checkbox</type> <question><![CDATA[21 Years and Over]]></question> <answer><![CDATA[on]]></answer> </form> </forms> </passenger> </passengers> <price_labels><![CDATA[price_adult, price_child, price_senior, price4, price5, price6, price7, price8, price9]]></price_labels> <price_range> <date value="2014-11-19"> <price_adult>33</price_adult> <price_child></price_child> <price_senior></price_senior> <price4></price4> <price5></price5> <price6></price6> <price7></price7> <price8></price8> <price9></price9> </date> </price_range> <overall_total>181.38</overall_total> <transactions> <total>1</total> <transaction> <label><![CDATA[Credit Cards]]></label> <date>1415391576</date> <amount>181.38</amount> </transaction> </transactions> <overall_paid>181.38</overall_paid> <trigger_code>SUMMERPROMO</trigger_code> <payment_method><![CDATA[Credit Cards]]></payment_method> <card_number><![CDATA[1111]]></card_number> <status>1</status> <status_text>Payment Received</status_text> <checkin_state>1416857958</checkin_state> <primary_forms> <total_forms>4</total_forms> <form num="1"> <id>0</id> <type>text</type> <question><![CDATA[Mobile Number when in location]]></question> <answer><![CDATA[604-555-5555]]></answer> </form> <form num="2"> <id>1</id> <type>select</type> <question><![CDATA[Pick-up Location]]></question> <answer><![CDATA[Hyatt (9:00am)]]></answer> </form> <form num="3"> <id>2</id> <type>select</type> <question><![CDATA[How did you hear about us?]]></question> <answer><![CDATA[Alaska Guide]]></answer> </form> <form num="4"> <id>3</id> <type>select</type> <question><![CDATA[Cruise Ship]]></question> <answer><![CDATA[Disney]]></answer> </form> </primary_forms> <refid><![CDATA[]]></refid> </booking> <v>latest</v> <gt>0.03084</gt> </response>
Example JSON Response
{ "total": "1", "booking": { "trans_num": "2V2A3I6C5D", "order_code": "4I2R9F7X3K5M7J1C", "checkin": "10510721977", "item_id": "29438", "cid": "1446", "tour_name": "Family River Rafting Adventure", "option_name": "8:00 am", "availability_type": "date", "date": "1416384000", "time": "0", "date_range": "1416384000", "date_purchased": "1415391506", "date_purchased_local": "1415391480", "note": {}, "updated": "1416857958", "prices": { "price_adult": "66", "base_prices": { "price_adult": "38" } }, "adult_num": "2", "adult_label": "Adult (21 yrs.+)", "pax": "2", "spaces": "2", "currency_symbol": "US $", "currency_separator": ",", "currency_decimals": "2", "currency_base": "USD", "sub_total": "66", "fees": {}, "line_items": { "line_item": [ { "label": "Booking Fee", "amount": "3.3", "percent": "5", "multi": {}, "tax": {} }, { "label": "Sales Tax", "amount": "2.08", "percent": "3", "multi": {}, "tax": "1" } ] }, "triggered_fees": { "total_triggered_fees": "2", "triggered_fee": [ { "label": "Custom Photo Package", "amount": {}, "total_amount": "60" }, { "label": "Lunch Add-on", "amount": {}, "total_amount": "50" } ] }, "first_name": "John", "last_name": "Doe", "address_1": "123 Anywhere", "address_2": {}, "city": "Some Town", "stateprov": "CA", "country": "us", "postal_code": "90210", "phone_number": "604-555-5555", "email_address": "Stephen@thejoyces.org", "passengers": { "passenger": [ { "type": "adult", "first_name": "Jane", "last_name": "Doe", "phone_number": {}, "email_address": {}, "total_forms": "5", "forms": { "form": [ { "@attributes": { "num": "1" }, "id": "0", "type": "checkbox_price", "question": "Custom Photo Package", "answer": "on" }, { "@attributes": { "num": "2" }, "id": "1", "type": "checkbox_price", "question": "Lunch Add-on", "answer": "on" }, { "@attributes": { "num": "3" }, "id": "2", "type": "select", "question": "Life Jacket Size", "answer": "S" }, { "@attributes": { "num": "4" }, "id": "3", "type": "text", "question": "Weight", "answer": "170" }, { "@attributes": { "num": "5" }, "id": "4", "type": "checkbox", "question": "21 Years and Over", "answer": "on" } ] } }, { "type": "adult", "first_name": "Jim", "last_name": "Doe", "phone_number": {}, "email_address": {}, "total_forms": "5", "forms": { "form": [ { "@attributes": { "num": "1" }, "id": "0", "type": "checkbox_price", "question": "Custom Photo Package", "answer": "on" }, { "@attributes": { "num": "2" }, "id": "1", "type": "checkbox_price", "question": "Lunch Add-on", "answer": "on" }, { "@attributes": { "num": "3" }, "id": "2", "type": "select", "question": "Life Jacket Size", "answer": "S" }, { "@attributes": { "num": "4" }, "id": "3", "type": "text", "question": "Weight", "answer": "180" }, { "@attributes": { "num": "5" }, "id": "4", "type": "checkbox", "question": "21 Years and Over", "answer": "on" } ] } } ] }, "price_labels": "price_adult, price_child, price_senior, price4, price5, price6, price7, price8, price9", "price_range": { "date": { "@attributes": { "value": "2014-11-19" }, "price_adult": "33", "price_child": {}, "price_senior": {}, "price4": {}, "price5": {}, "price6": {}, "price7": {}, "price8": {}, "price9": {} } }, "overall_total": "181.38", "transactions": { "total": "1", "transaction": { "label": "Credit Cards", "date": "1415391576", "amount": "181.38" } }, "overall_paid": "181.38", "trigger_code": "SUMMERPROMO", "payment_method": "Credit Cards", "card_number": "1111", "status": "1", "status_text": "Payment Received", "checkin_state": "1416857958", "primary_forms": { "total_forms": "4", "form": [ { "@attributes": { "num": "1" }, "id": "0", "type": "text", "question": "Mobile Number when in location", "answer": "604-555-5555" }, { "@attributes": { "num": "2" }, "id": "1", "type": "select", "question": "Pick-up Location", "answer": "Hyatt (9:00am)" }, { "@attributes": { "num": "3" }, "id": "2", "type": "select", "question": "How did you hear about us?", "answer": "Alaska Guide" }, { "@attributes": { "num": "4" }, "id": "3", "type": "select", "question": "Cruise Ship", "answer": "Disney" } ] }, "refid": {} }, "v": "latest", "gt": "0.02314" }