Finally got the REST API for searching for rooms working