Page 1 of 1

getRoomDailyCSV - All rooms?

Posted: Sat May 13, 2017 3:34 pm
by joholm
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.)

Re: getRoomDailyCSV - All rooms?

Posted: Mon May 15, 2017 12:21 pm
by markkinchin
The get and put RoomDailyCSV files are designed for one roomid per file

Re: getRoomDailyCSV - All rooms?

Posted: Mon May 15, 2017 2:30 pm
by joholm
Hi, I understand that. But when I extract availability I usually need all rooms and it would save a lot of time if I could get them all at once.
It would only need a simple loop in the "get" program - isn't that possible to add?

Re: getRoomDailyCSV - All rooms?

Posted: Mon May 15, 2017 4:59 pm
by markkinchin
We have added a prop id option so you can get all the rooms in the property in one file.

Re: getRoomDailyCSV - All rooms?

Posted: Tue May 16, 2017 5:22 pm
by joholm
Wonderful! Thank you very much!
Much appreciated.

Re: getRoomDailyCSV - All rooms?

Posted: Sun May 21, 2017 1:09 pm
by joholm
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

Re: getRoomDailyCSV - All rooms?

Posted: Mon May 22, 2017 8:56 am
by markkinchin
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
This is fixed now.

Re: getRoomDailyCSV - All rooms?

Posted: Thu Mar 15, 2018 4:37 am
by team.miura.beds24
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?

Re: getRoomDailyCSV - All rooms?

Posted: Thu Mar 15, 2018 9:10 am
by markkinchin
JSON getRoomDates is similar, but you will need to get each roomtype, one at a time.