Travel Ticker Deals - Response Message Sample

This section provides a request message sample of Travel Ticker Deals Web service.

The response of Travel Ticker Deals Web service can be delivered in "XML" or "JSON" message format. It contains a list of latest travel deals provided by Hotwire.com..

Here is the response message of Travel Ticker Deals in "XML" message format:

HTTP/1.1 200 OK
X-Mashery-Responder: proxyworker-i-3b2fa152.mashery.com
Content-Type: text/xml;charset=ISO-8859-1
Ntcoent-Length: 105455
Server: Apache-Coyote/1.1
Cache-Control: private
Hotwire-Response-Query-Cost: 50
Set-Cookie: JSESSIONID=087DB0184CA0FE80DA769F1BB01D6A6D; Path=/
Content-Language: en-US
Date: Sat, 23 Jul 2011 14:48:22 GMT
Content-Encoding: gzip
Accept-Ranges: bytes
Content-Length: 15580

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Hotwire>
 <Errors/>
 <Result>
  <TravelTickerDeal>
   <Address/>
   <City/>
   <Country>United States</Country>
   <DealOffers>
    <DealOffer>
     <FromPrice>
      <Amount>711.00</Amount>
      <CurrencyCode>USD</CurrencyCode>
     </FromPrice>
     ...
     <ValidTravelDates>August 11, 2011-February 10, 2012</ValidTravelDates>
    </DealOffer>
   </DealOffers>
   <VerticalCode>P</VerticalCode>
   <DestinationCityName>The Bahamas Out Islands</DestinationCityName>
   <DestinationAirportCode>NAS,NAS</DestinationAirportCode>
   <EncodedId>k19wxn3iow98ekqk2pdx</EncodedId>
   <ExpirationDate>07/31/2011</ExpirationDate>
   <GoLiveDate>07/22/2011</GoLiveDate>
   <Images>
    <ImageURL>
     http://ak-static.travel-ticker.com/static/images/630201-72x72.jpg
    </ImageURL>
    ...
   </Images>
   <URL><![CDATA[
    www.travel-ticker.com/category.jsp?actionType=1&encId=k19wxn3iow98ekqk2pdx
     &sid=S298&bid=B311402&categoryType=Destination
     &categoryName=The Bahamas Out Islands&startDate=mm/dd/yy
     &endDate=mm/dd/yy&vert=package&dest=NAS,NAS
   ]]></URL>
   <ShortDetails>
A Bahamas bargain with a big flight discount. Your companion flies at 
no charge     when you book a Bahamas vacation package of 4+ nights, 
August 1, 2011-February     10, 2012. We found rates as low as $711* 
from NYC, September 1-October 10.
   </ShortDetails>
   <State/>
   <SupplierName>Continental Airlines Vacations</SupplierName>
   <TaRatingCode/>
   <Themes>
    <Theme>
     <ThemeId>178</ThemeId>
     <ThemeName>Water Recreation</ThemeName>
    </Theme>
    ...
   </Themes>
   <Title>Bahamas: 4-night vacation to the Out Islands w/air -- $711+*
   </Title>
   <ZipCode/>
  </TravelTickerDeal>
  <TravelTickerDeal>
   <Address/>
   <City/>
   <Country>Mexico</Country>
   <DealOffers>
    <DealOffer>
     <FromPrice>
      <Amount>154.00</Amount>
      <CurrencyCode>USD</CurrencyCode>
     </FromPrice>
     <PriceQualificationCode>per person</PriceQualificationCode>
     <Savings>35</Savings>
     <SavingsTypeCode>%</SavingsTypeCode>
     ...
     <ValidTravelDates>July 22-December 22, 2011</ValidTravelDates>
    </DealOffer>
   </DealOffers>
   <VerticalCode>H</VerticalCode>
   <DestinationCityName>Riviera Maya</DestinationCityName>
   <DestinationAirportCode>CUN,CUN</DestinationAirportCode>
   <EncodedId>dztwrp9fql29614eb1od</EncodedId>
   <ExpirationDate>08/15/2011</ExpirationDate>
   <GoLiveDate>07/22/2011</GoLiveDate>
   <SupplierName>Continental Airlines Vacations</SupplierName>
   <TaRatingCode/>
   <Images>
    <ImageURL>
     http://ak-static.travel-ticker.com/static/images/486601-72x72.jpg
    </ImageURL>
    ...
   </Images>
   <URL><![CDATA[
    www.travel-ticker.com/category.jsp?actionType=1&encId=dztwrp9fql29614eb1od
    &sid=S298&bid=B311402&categoryType=Destination&categoryName=Riviera Maya
    &startDate=mm/dd/yy&endDate=mm/dd/yy&vert=hotel&dest=CUN,CUN
   ]]></URL>
   <ShortDetails>
A TripAdvisor favorite, now up to 35% off. The #1 Puerto Morelos 
hotel on     TripAdvisor, Excellence Riviera Cancun, dropped rates to 
as little as $154 per     person for a posh junior suite stay. Travel 
July 22-December 22.
   </ShortDetails>
   <State/>
   <SupplierName>Excellence Riviera Cancun</SupplierName>
   <TaRatingCode>4.5</TaRatingCode>
   <Themes>
    <Theme>
     <ThemeId>178</ThemeId>
     <ThemeName>Water Recreation</ThemeName>
    </Theme>
    ...
   </Themes>
   <Title>Riviera Maya: 35% off luxury all-inclusive resort, from $154</Title>
   <ZipCode/>
  </TravelTickerDeal>
  ...
 </Result>
</Hotwire>

Last update: 2011.

Table of Contents

 About This Book

 SoapUI - Web Service Testing Tool

 SOAP Web Service and SoapUI

 REST Web Service and SoapUI

 GetCountries - Get All Countries and Territories

 GetCurrencies - Get Currencies from All Countries and Territories

 GetGMTbyCountry - Get GMT Information of a Given Country

 GetISD - Get ISD Phone Code of a Given Country

 GetCitiesByCountry - Get Cities by Country

 LatLonListCityNames - Return Latitudes and Longitudes of US Cities

 GetInfoByState - Get ZIP Codes of a Given US State

 GetAirportInformationByCountry - Get Airport Code by Country

 GetGeoIP - Get Country by IP Address

 ConvertTemp - Convert Temperature Unit

 ChangeLengthUnit - Convert Length Unit

 ConvertWeight - Convert Weight Unit

 ChangeAreaUnit - Convert Area Unit

 Code39 - Generate Bar Code Images in Code 39 Format

 GenerateBarCode - Generate Bar Code Images

 GetMortgagePayment - Calculate Mortgage Payment

 ConversionRate - Get Currency Exchange Rate

 GetQuote - Get Stock Quote

 getTime - Get the Current Time

 GetSunSetRiseTime - Get Sunrise and Sunset Time

 GetWeatherByZipCode - Get Weather by ZIP Code in US

 NDFDgenByDay - US Weather Forecast by Day

 NDFDgen - US-Weather Forecast for a Single Location

 questionSearch - Search Yahoo! Questions and Answers

 flickr.interestingness.getList - Get Interesting Photos

Hotwire - Get Travel Ticker Deals

 Travel Ticker Deals - Usage Description

 Travel Ticker Deals - HTTP Request Sample

Travel Ticker Deals - Response Message Sample

 Outdated Tutorials

 References

 PDF Printing Version