crossed out rate response for one room
var activity = new TTWeb.Activity({
hotelId: 'KEY24N', //'NYCREF',
portalId: '24northhotel', //'refineryhotelnewyork',
defaultLocale: 'en',
defaultCurrency: 'USD',
defaultTimezone: 'America/New_York'
});
activity.roomsBooked().then(function(response){
document.getElementById('bookingsResponse').innerHTML = JSON.stringify(response, null, 4);
console.log("roomsBooked()");
console.log(response);
}).catch(function(error){
document.getElementById('bookingsResponse').innerHTML = JSON.stringify(error,null,4);
});
Response: