Back to Example List

crossed out rate response for one room

      var hotel1 = new TTWebHotel(TTWebHotel.Reztrip,{
        hotelId: 'NYCREF', //'NYCREF',
        portalId: 'refineryhotelnewyork', //'refineryhotelnewyork',
        defaultLocale: 'en',
        defaultCurrency: 'USD',
        defaultTimezone: 'America/New_York'
      });

      hotel1.ready(function() {
        var activity = hotel1.Activity;

        activity.recentBookings().then(function(response){
          document.getElementById('bookingsResponse').innerHTML = JSON.stringify(response, null, 4);
        }).catch(function(error){
          document.getElementById('bookingsResponse').innerHTML = JSON.stringify(error,null,4);
        });
      })
    
Response: