Back to Example List

Lowest rate response

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

      ttwebHotel.ready(function() {
        var liverate24North =  ttwebHotel.LiveRate;
        liverate24North.getCrossOutRate({'rateCode' : 'FLR'}).then(function(response){
          var rates= response;
          document.getElementById('lowestRateResponse').innerHTML = JSON.stringify(rates, null, 4);
        }).catch(function(error) {
          document.getElementById('lowestRateResponse').innerHTML = JSON.stringify(error,null,4);
        });
      });
    
Response:

    

Crossout rate of S1K

Crossout rate of P2QO