Example Basic REST Availability Request for 1 Room (2 Adults)   {#1}

http://api.ean.com/ean-services/rs/hotel/v3/list?
apiKey=54321
&cid=54321
&customerIpAddress=xxx
&customerUserAgent=xxx
&customerSessionId=54321
&minorRev=30
&locale=en_US
&currencyCode=USD
&city=Seattle
&stateProvinceCode=WA
&countryCode=US
&arrivalDate=09/04/2015
&departureDate=09/05/2015
&room1=2

 

 Example REST Availability Request for 2 Rooms (2 Adults, 2 Children Ages 3 and 5)   {#2}
http://api.ean.com/ean-services/rs/hotel/v3/list?
apiKey=54321
&cid=54321
&customerIpAddress=xxx
&customerUserAgent=xxx
&customerSessionId=54321
&minorRev=30
&locale=en_US
&currencyCode=USD
&city=Seattle
&stateProvinceCode=WA
&countryCode=US
&arrivalDate=09/04/2015
&departureDate=09/05/2015
&room1=1,3
&room2=1,5

 

 JSON Response   {#3}


{
"HotelListResponse": {
"customerSessionId": "0ABAAA3A-8A10-4914-9862-917509901424",
"numberOfRoomsRequested": 1,
"moreResultsAvailable": true,
"cacheKey": "-19c8a104:14986917509:-141a",
"cacheLocation": "10.186.170.58:7300",
"cachedSupplierResponse": {
"@supplierCacheTolerance": "NOT_SUPPORTED",
"@cachedTime": "0",
"@supplierRequestNum": "225",
"@supplierResponseNum": "1",
"@supplierResponseTime": "230",
"@candidatePreptime": "4",
"@otherOverheadTime": "16",
"@tpidUsed": "5001",
"@matchedCurrency": "true",
"@matchedLocale": "true"
},
"HotelList": {
"@size": "1",
"@activePropertyCount": "245",
"HotelSummary": {
"@order": "0",
"@ubsScore": "343108576",
"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": 3,
"tripAdvisorRating": 4.5,
"tripAdvisorReviewCount": 1355,
"tripAdvisorRatingUrl": "http://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/4.5-12345-4.gif",
"locationDescription": "Near Pike Place Market",
"shortDescription": "<p><b>Property Location</b> <br />With a stay at Mayflower Park Hotel, you'll be centrally located in Seattle, steps from Westlake Center and minutes from Pike Place Market. This historic hotel is",
"highRate": 309,
"lowRate": 309,
"rateCurrencyCode": "USD",
"latitude": 47.61223,
"longitude": -122.33853,
"proximityDistance": 11.359455,
"proximityUnit": "MI",
"hotelInDestination": true,
"thumbNailUrl": "/hotels/1000000/30000/26900/26893/26893_43_t.jpg",
"deepLink": "http://www.travelnow.com/templates/55505/hotels/148505/overview?lang=en&currency=USD&standardCheckin=09/04/2015&standardCheckout=09/05/2015&roomsCount=1&rooms[0].adultsCount=2",
"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": 2,
"numberOfChildren": 0
}
},
"ChargeableRateInfo": {
"@averageBaseRate": "309.0",
"@averageRate": "309.0",
"@commissionableUsdTotal": "309.0",
"@currencyCode": "USD",
"@maxNightlyRate": "309.0",
"@nightlyRateTotal": "309.0",
"@grossProfitOffline": "59.55",
"@grossProfitOnline": "84.13",
"@surchargeTotal": "55.15",
"@total": "364.15",
"NightlyRatesPerRoom": {
"@size": "1",
"NightlyRate": {
"@baseRate": "309.0",
"@rate": "309.0",
"@promo": "false"
}
},
"Surcharges": {
"@size": "1",
"Surcharge": {
"@type": "TaxAndServiceFee",
"@amount": "55.15"
}
}
},
"nonRefundable": false,
"rateType": "MerchantStandard",
"currentAllotment": 17
}
},
"ValueAdds": {
"@size": "1",
"ValueAdd": {
"description": "Free Wireless Internet"
}
}
}
}
}
}
{one result for brevity}
}

 


 Page for More Results   

Send only cacheKey and cacheLocation since these values hold the data
from all original search elements.

 

http://api.ean.com/ean-services/rs/hotel/v3/list?
apiKey=54321
&cid=54321
&customerIpAddress=xxx
&customerUserAgent=xxx
&customerSessionId=54321
&minorRev=30
&locale=en_US
&currencyCode=USD
&cacheKey=-19c8a104:14986917509:-141a
&cacheLocation=10.186.170.58:7300


 Paging will return availability based on the original request and with the next set of properties in line. 


{
"HotelListResponse": {
"customerSessionId": "0ABAAA7D-4CD7-FC91-4982-6919EDB97FA8",
"numberOfRoomsRequested": 1,
"moreResultsAvailable": true,
"cacheKey": "794cd7fc:14986958353:-7f4b",
"cacheLocation": "10.186.170.125:7300",
"cachedSupplierResponse": {
"@supplierCacheTolerance": "NOT_SUPPORTED",
"@cachedTime": "0",
"@supplierRequestNum": "187",
"@supplierResponseNum": "1",
"@supplierResponseTime": "543",
"@candidatePreptime": "6",
"@otherOverheadTime": "14",
"@tpidUsed": "5001",
"@matchedCurrency": "true",
"@matchedLocale": "true"
},
"HotelList": {
"@size": "1",
"@activePropertyCount": "206",
"HotelSummary": {
"@order": "0",
"@ubsScore": "343028610",
"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": 2.5,
"confidenceRating": 70,
"amenityMask": 7798794,
"tripAdvisorRating": 4,
"tripAdvisorReviewCount": 908,
"tripAdvisorRatingUrl": "http://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/4.0-12345-4.gif",
"locationDescription": "Near Pacific Northwest Ballet",
"shortDescription": "<p><b>Property Location</b> <br />With a stay at Mediterranean Inn, you'll be centrally located in Seattle, steps from Key Arena and minutes from Seattle Children's Theatre. This family-friendly",
"highRate": 209,
"lowRate": 209,
"rateCurrencyCode": "USD",
"latitude": 47.62244,
"longitude": -122.35672,
"proximityDistance": 11.593589,
"proximityUnit": "MI",
"hotelInDestination": true,
"thumbNailUrl": "/hotels/1000000/900000/897600/897598/897598_108_t.jpg",
"deepLink": "http://www.travelnow.com/templates/55505/hotels/206005/overview?lang=en&currency=USD&standardCheckin=09/04/2015&standardCheckout=09/05/1970&roomsCount=1&rooms[0].adultsCount=2",
"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": 2,
"numberOfChildren": 0
}
},
"ChargeableRateInfo": {
"@averageBaseRate": "209.0",
"@averageRate": "209.0",
"@commissionableUsdTotal": "209.0",
"@currencyCode": "USD",
"@maxNightlyRate": "209.0",
"@nightlyRateTotal": "209.0",
"@grossProfitOffline": "35.46",
"@grossProfitOnline": "52.54",
"@surchargeTotal": "43.99",
"@total": "252.99",
"NightlyRatesPerRoom": {
"@size": "1",
"NightlyRate": {
"@baseRate": "209.0",
"@rate": "209.0",
"@promo": "false"
}
},
"Surcharges": {
"@size": "1",
"Surcharge": {
"@type": "TaxAndServiceFee",
"@amount": "43.99"
}
}
},
"nonRefundable": false,
"rateType": "MerchantStandard",
"currentAllotment": 7
}
}
}
}
}
}
}
}