Accessing room reservation db and making reservations from Java Client

We have a java client that we use for creating meetings in notes. We want to add room reservation functionality to it, very similar to the one provided by notes calendarEntry UI.

I am able to read the resource database and reservations. But I need help with making reservations.

I tried creating meeings with ‘Room’ property set, but that does not do it.

I looked at the calendar entry code in notes client and found that notes client calls a function called InviteRooms(). to make reservations. But it seems it is a hard coded function with no documentation. I could not find anything on IBM site either.

Let me know if you have any pointers for me.