user: findRoomLists

Important: APIs under the /beta version in Microsoft Graph are in preview and are subject to change. Use of these APIs in production applications is not supported.

Get the room lists defined in a tenant.

Tenants can organize meeting rooms into room lists. Each meeting room and room list is represented by an emailAddress instance. You can get all the room lists in the tenant, get all the rooms in the tenant, or get all the rooms in a specific room list.

Permissions

One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.

Permission type Permissions (from least to most privileged)
Delegated (work or school account) User.ReadBasic.All, User.Read.All
Delegated (personal Microsoft account) Not supported.
Application User.Read.All

HTTP request

GET /me/findRoomLists
GET /users/<id>/findRoomLists

Request headers

Name Type Description
Authorization string Bearer {token}. Required.
Content-Type string application/json. Required.

Request body

Do not supply a request body for this method.

Response

If successful, this method returns a 200 OK response code and emailAddress collection object in the response body.

If no lists are defined in the tenant, then an empty array is returned.

Example

Request

Here is an example of the request.

GET https://graph.microsoft.com/beta/me/findRoomLists
Response

Here is an example of the response.

Note: The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call.

HTTP/1.1 200 OK
Content-type: application/json

{
    "@odata.context": "https://graph.microsoft.com/beta/$metadata#Collection(microsoft.graph.emailAddress)",
    "value": [
        {
            "name": "Building 1 Rooms",
            "address": "Building1Rooms@contoso.onmicrosoft.com"
        },
        {
            "name": "Building 2 Rooms",
            "address": "Building2Rooms@contoso.onmicrosoft.com"
        }
    ]
}