In order to get the available rooms, you will need to fetch
/resource endpoint. Please find guidelines here - Room Resources.
The important permission to have enabled is:
For Microsoft Office 365 you need to enable Place.Read.All as an admin to use Room Resources. See Admin Approval for more.
The Admin Approval guide will take you to the following page - Admin Approval