Can anyone explain this....
putRoomDaily CSV....
Change List
2017-08-09 roomid 77185 set inventory = 3
2017-08-10 roomid 77185 set inventory = 1
2017-08-11 roomid 77185 set inventory = 1
2017-08-12 roomid 77185 set inventory = 0
getRoomDaily CSV....
"year","month","date","roomid",inventory,price1,price2,price3,price4
"2017","08","09","77185","3","","","",""
"2017","08","10","77185","2","","","",""
"2017","08","11","77185","2","","","",""
"2017","08","12","77185","0","","","",""
This is occurring on many dates for different room types.
The description of "getRoomDaily CSV" says "Inventory is the number of rooms available for sale"; but as far as I can see the Inventory shown on each date is the number of room available for sale PLUS the rooms booked out (as imported from Booking.com existing booking).
It makes it hard to double check availability when the number given doesn't show actual availability
putRoomDaily vs getRoomDaily
-
- Site Admin
- Posts: 935
- Joined: Fri Mar 02, 2012 1:43 pm
The getRoomDaily function was not taking bookings into account in the reported inventory.
We have changed this now so it shows the remaining rooms available for sale which is more logical.
We have changed this now so it shows the remaining rooms available for sale which is more logical.
I must have spoken too soon.
More trouble with put and get RoomsDaily...
Change List (from Put)
2017-06-18 roomid 77181 set inventory = 1
2017-06-19 roomid 77181 set inventory = 1
2017-06-20 roomid 77181 set inventory = 1
2017-06-21 roomid 77181 set inventory = 1
2017-06-22 roomid 77181 set inventory = 1
Followed by Get...
"2017","06","18","77181","1","","","",""
"2017","06","19","77181","0","","","",""
"2017","06","20","77181","0","","","",""
"2017","06","21","77181","0","","","",""
"2017","06","22","77181","1","","","",""
I was trying to add availability of 1 on those three days by use Put.
The Calendar show correctly - so why does Get get it wrong?
More trouble with put and get RoomsDaily...
Change List (from Put)
2017-06-18 roomid 77181 set inventory = 1
2017-06-19 roomid 77181 set inventory = 1
2017-06-20 roomid 77181 set inventory = 1
2017-06-21 roomid 77181 set inventory = 1
2017-06-22 roomid 77181 set inventory = 1
Followed by Get...
"2017","06","18","77181","1","","","",""
"2017","06","19","77181","0","","","",""
"2017","06","20","77181","0","","","",""
"2017","06","21","77181","0","","","",""
"2017","06","22","77181","1","","","",""
I was trying to add availability of 1 on those three days by use Put.
The Calendar show correctly - so why does Get get it wrong?
-
- Site Admin
- Posts: 935
- Joined: Fri Mar 02, 2012 1:43 pm
It appears to have been a caching issue, it has come good now.