Edit

Share via


building resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents a building within the tenant.

Inherits from place.

Methods

Method Return type Description
Ingest map file None Ingest the map file for a building in Places.

For more supported methods, see place.

Properties

Property Type Description
address physicalAddress The physical address of the building, including the street, city, state, country or region, and postal code. Inherited from place.
displayName String The name that is associated with the building. Inherited from place.
geoCoordinates outlookGeoCoordinates Specifies the building location in latitude, longitude, and (optionally) altitude coordinates. Inherited from place.
hasWiFi Boolean Indicates whether the building has a wireless network.
id String The unique identifier for the building. Read-only. This identifier isn't immutable and can change if the mailbox or tenant configuration changes. Inherited from place.
isWheelChairAccessible Boolean Indicates whether the building is wheelchair accessible. Inherited from place.
label String User-defined description of the building. Inherited from place.
parentId String Currently, buildings don't have a parent. Don't use. Inherited from place.
phone String The phone number of the building. Inherited from place.
placeId String An alternate immutable unique identifier of the building. Read-only. Inherited from place.
resourceLinks resourceLink collection A set of links to external resources that are associated with the building. Inherited from place.
tags String collection Custom tags that are associated with the building for categorization or filtering. Inherited from place.

Relationships

Relationship Type Description
map buildingMap Map file associated with a building in Places. This object is the IMDF-format representation of building.geojson.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.building",
  "address": {"@odata.type": "microsoft.graph.physicalAddress"},
  "displayName": "String",
  "geoCoordinates": {"@odata.type": "microsoft.graph.outlookGeoCoordinates"},
  "hasWiFi": "Boolean",
  "id": "String (identifier)",
  "isWheelChairAccessible": "Boolean",
  "label": "String",
  "parentId": "String",
  "phone": "String",
  "placeId": "String",
  "resourceLinks": [{"@odata.type": "microsoft.graph.resourceLink"}],
  "tags": ["String"]
}