getRoomDailyCSV - All rooms?

Develper issues when using the Beds24 APi.
Post Reply
joholm
Posts: 46
Joined: Wed May 03, 2017 9:09 pm

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.)
markkinchin
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
joholm
Posts: 46
Joined: Wed May 03, 2017 9:09 pm

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?
markkinchin
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.
joholm
Posts: 46
Joined: Wed May 03, 2017 9:09 pm

Wonderful! Thank you very much!
Much appreciated.
joholm
Posts: 46
Joined: Wed May 03, 2017 9:09 pm

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
markkinchin
Site Admin
Posts: 935
Joined: Fri Mar 02, 2012 1:43 pm

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.
team.miura.beds24
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?
markkinchin
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.
Post Reply