Would it be possible to have getRoomDailyCSV return data for more than one roomid; or default to all rooms if no roomid is specified?
(The XML getInvenories seems to manage quite well returning all rooms when non are specified.)
getRoomDailyCSV - All rooms?
-
- Site Admin
- Posts: 935
- Joined: Fri Mar 02, 2012 1:43 pm
The get and put RoomDailyCSV files are designed for one roomid per file
-
- Site Admin
- Posts: 935
- Joined: Fri Mar 02, 2012 1:43 pm
We have added a prop id option so you can get all the rooms in the property in one file.
Hi,
I've found a problem with "propid" version og getRoomDaily CSV.
I'm asking for dates from 2017-06-30 to 2017-07-09 for our propid.
The result includes all room at our property starting from 2017-06-30, but for one room type the output runs on to 2017-07-22, and another runs on to 2017-07-10.
Is something wrong with the looping trough rooms and dates?
Regards; David
I've found a problem with "propid" version og getRoomDaily CSV.
I'm asking for dates from 2017-06-30 to 2017-07-09 for our propid.
The result includes all room at our property starting from 2017-06-30, but for one room type the output runs on to 2017-07-22, and another runs on to 2017-07-10.
Is something wrong with the looping trough rooms and dates?
Regards; David
-
- Site Admin
- Posts: 935
- Joined: Fri Mar 02, 2012 1:43 pm
This is fixed now.joholm wrote:Hi,
I've found a problem with "propid" version og getRoomDaily CSV.
I'm asking for dates from 2017-06-30 to 2017-07-09 for our propid.
The result includes all room at our property starting from 2017-06-30, but for one room type the output runs on to 2017-07-22, and another runs on to 2017-07-10.
Is something wrong with the looping trough rooms and dates?
Regards; David
-
- Posts: 29
- Joined: Tue Jan 30, 2018 12:30 pm
Hi,
Is there any JSON or XML that can return the same result as this CSV?
If not, is it possible to get the CSV result the same way as XML or JSON API?
Is there any JSON or XML that can return the same result as this CSV?
If not, is it possible to get the CSV result the same way as XML or JSON API?
-
- Site Admin
- Posts: 935
- Joined: Fri Mar 02, 2012 1:43 pm
JSON getRoomDates is similar, but you will need to get each roomtype, one at a time.