Example Alternative Location Search: REST Availability Request Using Seattle as the destinationString
http://api.ean.com/ean-services/rs/hotel/v3/list?
apiKey=54321
&sig=54321543215432154321
&cid=54321
&customerIpAddress=xxx
&customerUserAgent=xxx
&customerSessionId=54321
&minorRev=30
&locale=en_US
&currencyCode=USD
&destinationString=Seattle
&countryCode=US
&arrivalDate=09/04/2015
&departureDate=09/05/2015
&room1=1,3
&room2=1,5

 

Example Alternative Location Search: REST Availability Request Using Latitude and Longitude with Proximity for Seattle

http://api.ean.com/ean-services/rs/hotel/v3/list?
apiKey=54321
&sig=54321543215432154321
&cid=54321
&customerIpAddress=xxx
&customerUserAgent=xxx
&customerSessionId=54321
&minorRev=30
&locale=en_US
&currencyCode=USD
&latitude=47.6062
&longitude=-122.332
&searchRadius=1
&searchRadiusUnit=MI
&sort=PROXIMITY
&arrivalDate=09/04/2015
&departureDate=09/05/2015
&room1=1,3
&room2=1,5

 

JSON Response for each optional location (one hotel shown for brevity)

{
"HotelListResponse": {
"customerSessionId": "0ABAAA48-5462-3091-4D02-B801B3596C0B",
"numberOfRoomsRequested": 2,
"moreResultsAvailable": true,
"cacheKey": "25546230:14d0b801b35:6c17",
"cacheLocation": "10.186.170.72:7300",
"cachedSupplierResponse": {
"@supplierCacheTolerance": "NOT_SUPPORTED",
"@cachedTime": "0",
"@supplierRequestNum": "231",
"@supplierResponseNum": "25",
"@supplierResponseTime": "402",
"@candidatePreptime": "33",
"@otherOverheadTime": "5",
"@tpidUsed": "5001",
"@matchedCurrency": "true",
"@matchedLocale": "true"
},
"HotelList": {
"@size": "25",
"@activePropertyCount": "231",
"HotelSummary": [
{
"@order": "0",
"@ubsScore": "372138534",
"hotelId": 263112,
"name": "HYATT house Seattle/Bellevue",
"address1": "3244 139th Ave Se",
"city": "Bellevue",
"stateProvinceCode": "WA",
"postalCode": 98005,
"countryCode": "US",
"airportCode": "SEA",
"supplierType": "E",
"propertyCategory": 4,
"hotelRating": 3,
"confidenceRating": 85,
"amenityMask": 142035011,
"locationDescription": "Near Bellevue College",
"shortDescription": "<p><b>Property Location</b> <br />Located in Bellevue, HYATT house Seattle/Bellevue is minutes from Bellevue College and T-Mobile USA Headquarters. This aparthotel is within close proximity of",
"highRate": 189,
"lowRate": 189,
"rateCurrencyCode": "USD",
"latitude": 47.58081,
"longitude": -122.15468,
"proximityDistance": 2.9069135,
"proximityUnit": "MI",
"hotelInDestination": true,
"thumbNailUrl": "/hotels/2000000/1860000/1852300/1852256/1852256_68_t.jpg",
"deepLink": "http://www.travelnow.com/templates/369532/hotels/263112/overview?lang=en&currency=USD&standardCheckin=9/4/2015&standardCheckout=9/5/2015&roomsCount=2&rooms[0].adultsCount=1&rooms[0].childrenCount=1&rooms[0].children[0].age=3&rooms[1].adultsCount=1&rooms[1].childrenCount=1&rooms[1].children[0].age=5",
"RoomRateDetailsList": {
"RoomRateDetails": {
"roomTypeCode": 200162510,
"rateCode": 200918338,
"maxRoomOccupancy": 2,
"quotedRoomOccupancy": 1,
"minGuestAge": 0,
"roomDescription": "Studio, 1 King Bed - Advance Purchase",
"propertyAvailable": true,
"propertyRestricted": false,
"expediaPropertyId": 1852256,
"RateInfos": {
"@size": "1",
"RateInfo": {
"@priceBreakdown": "true",
"@promo": "false",
"@rateChange": "false",
"RoomGroup": {
"Room": [
{
"numberOfAdults": 1,
"numberOfChildren": 1,
"childAges": 3,
"rateKey": "899e7095-f43d-4b50-bd30-3e99a40ad552",
"ChargeableNightlyRates": {
"@baseRate": "189.00",
"@rate": "189.00",
"@promo": "false"
}
}, {
"numberOfAdults": 1,
"numberOfChildren": 1,
"childAges": 5,
"rateKey": "0f0b3245-6e76-4cbc-9e2a-3ba824d28c9c",
"ChargeableNightlyRates": {
"@baseRate": "189.00",
"@rate": "189.00",
"@promo": "false"
}
}
]
},
"ChargeableRateInfo": {
"@averageBaseRate": "189.00",
"@averageRate": "189.00",
"@commissionableUsdTotal": "378.00",
"@currencyCode": "USD",
"@maxNightlyRate": "189.00",
"@nightlyRateTotal": "378.00",
"@surchargeTotal": "64.60",
"@total": "442.60",
"NightlyRatesPerRoom": {
"@size": "1",
"NightlyRate": {
"@baseRate": "189.00",
"@rate": "189.00",
"@promo": "false"
}
},
"Surcharges": {
"@size": "1",
"Surcharge": {
"@type": "TaxAndServiceFee",
"@amount": "64.60"
}
}
},
"nonRefundable": true,
"rateType": "MerchantStandard",
"currentAllotment": 46
}
},
"ValueAdds": {
"@size": "3",
"ValueAdd": [
{
"description": "Continental Breakfast"
}, {
"description": "Free Parking"
}, {
"description": "Free Wireless Internet"
}
]
}
}
}
},

 

Example Alternative Location Search: Availability Request for 3 Properties using hotelIdList

Only those properties available for the dates requested will be
returned - note the difference between the <code>activePropertyCount</code> and <code>size</code> attributes.

http://api.ean.com/ean-services/rs/hotel/v3/list?
apiKey=54321
&cid=54321
&sig=54321543215432154321
&customerIpAddress=xxx
&customerUserAgent=xxx
&customerSessionId=54321
&minorRev=30
&locale=en_US
&currencyCode=USD
&hotelIdList=148505,176586,206005
&arrivalDate=09/04/2015
&departureDate=09/05/2015
&room1=1,3
&room2=1,5

 

JSON Response for the above hotelIdList request

{
"HotelListResponse": {
"customerSessionId": "0ABAAACE-E127-7914-D0B2-9D05249047F2",
"numberOfRoomsRequested": 2,
"moreResultsAvailable": true,
"cacheKey": "fde1277:14d0b9d0524:-47ea",
"cacheLocation": "10.186.170.206:7300",
"cachedSupplierResponse": {
"@supplierCacheTolerance": "NOT_SUPPORTED",
"@cachedTime": "0",
"@supplierRequestNum": "3",
"@supplierResponseNum": "3",
"@supplierResponseTime": "56",
"@candidatePreptime": "3",
"@otherOverheadTime": "5",
"@tpidUsed": "5001",
"@matchedCurrency": "true",
"@matchedLocale": "true"
},
"HotelList": {
"@size": "3",
"@activePropertyCount": "3",
"HotelSummary": [
{
"@order": "0",
"@ubsScore": "344408789",
"hotelId": 148505,
"name": "Mayflower Park Hotel",
"address1": "405 Olive Way",
"city": "Seattle",
"stateProvinceCode": "WA",
"postalCode": 98101,
"countryCode": "US",
"airportCode": "SEA",
"supplierType": "E",
"propertyCategory": 1,
"hotelRating": 3.5,
"confidenceRating": 85,
"amenityMask": 16643,
"locationDescription": "Near Pike Place Market",
"shortDescription": "&lt;p&gt;&lt;b&gt;Property Location&lt;/b&gt; &lt;br /&gt;With a stay at Mayflower Park Hotel, you&apos;ll be centrally located in Seattle, steps from Westlake Center and minutes from Pike Place Market. This historic hotel is",
"highRate": 239,
"lowRate": 239,
"rateCurrencyCode": "USD",
"latitude": 47.61223,
"longitude": -122.33853,
"proximityDistance": -1,
"proximityUnit": "MI",
"hotelInDestination": false,
"thumbNailUrl": "/hotels/1000000/30000/26900/26893/26893_91_t.jpg",
"deepLink": "http://www.travelnow.com/templates/369532/hotels/148505/overview?lang=en&amp;currency=USD&amp;standardCheckin=9/4/2015&amp;standardCheckout=9/5/2015&amp;roomsCount=2&amp;rooms[0].adultsCount=1&amp;rooms[0].childrenCount=1&amp;rooms[0].children[0].age=3&amp;rooms[1].adultsCount=1&amp;rooms[1].childrenCount=1&amp;rooms[1].children[0].age=5",
"RoomRateDetailsList": {
"RoomRateDetails": {
"roomTypeCode": 9955,
"rateCode": 9955,
"maxRoomOccupancy": 2,
"quotedRoomOccupancy": 2,
"minGuestAge": 0,
"roomDescription": "Classic Room, 1 Queen Bed",
"propertyAvailable": true,
"propertyRestricted": false,
"expediaPropertyId": 26893,
"RateInfos": {
"@size": "1",
"RateInfo": {
"@priceBreakdown": "true",
"@promo": "false",
"@rateChange": "false",
"RoomGroup": {
"Room": [
{
"numberOfAdults": 1,
"numberOfChildren": 1,
"childAges": 3,
"rateKey": "5b502c28-2953-4c13-a170-6a6d191b84f7",
"ChargeableNightlyRates": {
"@baseRate": "239.00",
"@rate": "239.00",
"@promo": "false"
}
}, {
"numberOfAdults": 1,
"numberOfChildren": 1,
"childAges": 5,
"rateKey": "834a1b0d-a2ef-45b5-911f-dd4e7e115b2b",
"ChargeableNightlyRates": {
"@baseRate": "239.00",
"@rate": "239.00",
"@promo": "false"
}
}
]
},
"ChargeableRateInfo": {
"@averageBaseRate": "239.00",
"@averageRate": "239.00",
"@commissionableUsdTotal": "478.00",
"@currencyCode": "USD",
"@maxNightlyRate": "239.00",
"@nightlyRateTotal": "478.00",
"@surchargeTotal": "89.94",
"@total": "567.94",
"NightlyRatesPerRoom": {
"@size": "1",
"NightlyRate": {
"@baseRate": "239.00",
"@rate": "239.00",
"@promo": "false"
}
},
"Surcharges": {
"@size": "1",
"Surcharge": {
"@type": "TaxAndServiceFee",
"@amount": "89.94"
}
}
},
"nonRefundable": false,
"rateType": "MerchantStandard",
"currentAllotment": 16
}
},
"ValueAdds": {
"@size": "1",
"ValueAdd": {
"description": "Free Wireless Internet"
}
}
}
}
}, {
"@order": "1",
"@ubsScore": "342598733",
"hotelId": 176586,
"name": "Best Western Plus Executive Inn",
"address1": "200 Taylor Ave N",
"city": "Seattle",
"stateProvinceCode": "WA",
"postalCode": 98109,
"countryCode": "US",
"airportCode": "SEA",
"supplierType": "E",
"propertyCategory": 1,
"hotelRating": 3,
"confidenceRating": 95,
"amenityMask": 7799043,
"locationDescription": "Near Space Needle",
"shortDescription": "&lt;p&gt;&lt;b&gt;Property Location&lt;/b&gt; &lt;br /&gt;With a stay at Best Western Plus Executive Inn, you&apos;ll be centrally located in Seattle, steps from Science Fiction Museum and Hall of Fame and minutes from Space",
"highRate": 248.96,
"lowRate": 248.96,
"rateCurrencyCode": "USD",
"latitude": 47.61978,
"longitude": -122.34632,
"proximityDistance": -1,
"proximityUnit": "MI",
"hotelInDestination": false,
"thumbNailUrl": "/hotels/1000000/20000/17100/17066/17066_156_t.jpg",
"deepLink": "http://www.travelnow.com/templates/369532/hotels/176586/overview?lang=en&amp;currency=USD&amp;standardCheckin=9/4/2015&amp;standardCheckout=9/5/2015&amp;roomsCount=2&amp;rooms[0].adultsCount=1&amp;rooms[0].childrenCount=1&amp;rooms[0].children[0].age=3&amp;rooms[1].adultsCount=1&amp;rooms[1].childrenCount=1&amp;rooms[1].children[0].age=5",
"RoomRateDetailsList": {
"RoomRateDetails": {
"roomTypeCode": 200980733,
"rateCode": 204783763,
"maxRoomOccupancy": 2,
"quotedRoomOccupancy": 1,
"minGuestAge": 0,
"roomDescription": "Standard Room, 1 Queen Bed, Non Smoking, Refrigerator &amp; Microwave - Advanced Purchase",
"propertyAvailable": true,
"propertyRestricted": false,
"expediaPropertyId": 17066,
"RateInfos": {
"@size": "1",
"RateInfo": {
"@priceBreakdown": "true",
"@promo": "true",
"@rateChange": "false",
"RoomGroup": {
"Room": [
{
"numberOfAdults": 1,
"numberOfChildren": 1,
"childAges": 3,
"rateKey": "1cb523a3-15e8-4cb4-9476-4a2cbb8bd07e",
"ChargeableNightlyRates": {
"@baseRate": "248.96",
"@rate": "248.96",
"@promo": "false"
}
}, {
"numberOfAdults": 1,
"numberOfChildren": 1,
"childAges": 5,
"rateKey": "431da4a9-101c-430d-af01-ac07cb57addd",
"ChargeableNightlyRates": {
"@baseRate": "248.96",
"@rate": "248.96",
"@promo": "false"
}
}
]
},
"ChargeableRateInfo": {
"@averageBaseRate": "248.96",
"@averageRate": "248.96",
"@commissionableUsdTotal": "497.92",
"@currencyCode": "USD",
"@maxNightlyRate": "248.96",
"@nightlyRateTotal": "497.92",
"@surchargeTotal": "97.40",
"@total": "595.32",
"NightlyRatesPerRoom": {
"@size": "1",
"NightlyRate": {
"@baseRate": "248.96",
"@rate": "248.96",
"@promo": "false"
}
},
"Surcharges": {
"@size": "1",
"Surcharge": {
"@type": "TaxAndServiceFee",
"@amount": "97.40"
}
}
},
"nonRefundable": true,
"HotelFees": {
"@size": "1",
"HotelFee": {
"@description": "MandatoryFee",
"@amount": "4.00"
}
},
"rateType": "MerchantStandard",
"promoId": 208875498,
"promoDescription": "Sale!",
"promoType": "Standard",
"currentAllotment": 7
}
}
}
}
}, {
"@order": "2",
"@ubsScore": "332898734",
"hotelId": 206005,
"name": "Mediterranean Inn",
"address1": "425 Queen Anne Ave N",
"city": "Seattle",
"stateProvinceCode": "WA",
"postalCode": 98109,
"countryCode": "US",
"airportCode": "SEA",
"supplierType": "E",
"propertyCategory": 1,
"hotelRating": 3,
"confidenceRating": 70,
"amenityMask": 7799051,
"locationDescription": "Near Pacific Northwest Ballet",
"shortDescription": "&lt;p&gt;&lt;b&gt;Property Location&lt;/b&gt; &lt;br /&gt;With a stay at Mediterranean Inn, you&apos;ll be centrally located in Seattle, steps from Key Arena and minutes from Seattle Children&apos;s Theatre. This family-friendly",
"highRate": 239,
"lowRate": 239,
"rateCurrencyCode": "USD",
"latitude": 47.62244,
"longitude": -122.35672,
"proximityDistance": -1,
"proximityUnit": "MI",
"hotelInDestination": false,
"thumbNailUrl": "/hotels/1000000/900000/897600/897598/897598_108_t.jpg",
"deepLink": "http://www.travelnow.com/templates/369532/hotels/206005/overview?lang=en&amp;currency=USD&amp;standardCheckin=9/4/2015&amp;standardCheckout=9/5/2015&amp;roomsCount=2&amp;rooms[0].adultsCount=1&amp;rooms[0].childrenCount=1&amp;rooms[0].children[0].age=3&amp;rooms[1].adultsCount=1&amp;rooms[1].childrenCount=1&amp;rooms[1].children[0].age=5",
"RoomRateDetailsList": {
"RoomRateDetails": {
"roomTypeCode": 15567,
"rateCode": 15567,
"maxRoomOccupancy": 2,
"quotedRoomOccupancy": 2,
"minGuestAge": 0,
"roomDescription": "Standard Room, 1 Double Bed, Non Smoking, Kitchenette",
"propertyAvailable": true,
"propertyRestricted": false,
"expediaPropertyId": 897598,
"RateInfos": {
"@size": "1",
"RateInfo": {
"@priceBreakdown": "true",
"@promo": "false",
"@rateChange": "false",
"RoomGroup": {
"Room": [
{
"numberOfAdults": 1,
"numberOfChildren": 1,
"childAges": 3,
"rateKey": "b44ddfa4-c688-41ef-b64e-5ce7901e10d0",
"ChargeableNightlyRates": {
"@baseRate": "239.00",
"@rate": "239.00",
"@promo": "false"
}
}, {
"numberOfAdults": 1,
"numberOfChildren": 1,
"childAges": 5,
"rateKey": "fbaa69eb-b756-4902-a4da-d8ef6431b51e",
"ChargeableNightlyRates": {
"@baseRate": "239.00",
"@rate": "239.00",
"@promo": "false"
}
}
]
},
"ChargeableRateInfo": {
"@averageBaseRate": "239.00",
"@averageRate": "239.00",
"@commissionableUsdTotal": "478.00",
"@currencyCode": "USD",
"@maxNightlyRate": "239.00",
"@nightlyRateTotal": "478.00",
"@surchargeTotal": "100.02",
"@total": "578.02",
"NightlyRatesPerRoom": {
"@size": "1",
"NightlyRate": {
"@baseRate": "239.00",
"@rate": "239.00",
"@promo": "false"
}
},
"Surcharges": {
"@size": "1",
"Surcharge": {
"@type": "TaxAndServiceFee",
"@amount": "100.02"
}
}
},
"nonRefundable": false,
"rateType": "MerchantStandard",
"currentAllotment": 7
}
}
}
}
}
]
}
}
}