Skip to content

Latest commit

 

History

History
121 lines (89 loc) · 4.31 KB

File metadata and controls

121 lines (89 loc) · 4.31 KB
title Get buildingMap
description Get the map of a building in IMDF format.
author tiwarisakshi02
ms.date 11/11/2025
ms.localizationpriority medium
ms.subservice outlook
doc_type apiPageType

Get buildingMap

Namespace: microsoft.graph

Get the map of a building in IMDF format.

[!INCLUDE national-cloud-support]

Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

[!INCLUDE permissions-table]

HTTP request

GET /places/{buildingPlaceId}/microsoft.graph.building/map

Note: {buildingPlaceId} is the unique placeId of the building linked to this map in Places.

Optional query parameters

This method supports the $select OData query parameter to help customize the response. For general information, see OData query parameters.

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.

Request body

Don't supply a request body for this method.

Response

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

Examples

Request

The following example shows a request.

GET https://graph.microsoft.com/v1.0/places/30ca79af-ecb7-46c2-a14b-afe264a91543/microsoft.graph.building/map

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]


Response

The following example shows the response.

Note: The response object shown here might be shortened for readability.

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

{
  "placeId": "30ca79af-ecb7-46c2-a14b-afe264a91543",
  "id": "26f04b4f-9ae2-45e3-99d1-393c66d58eb4",
  "properties": "{\"id\": \"26f04b4f-9ae2-45e3-99d1-393c66d58eb4\", \"type\": \"Feature\", \"feature_type\": \"building\", \"geometry\": null, \"properties\": {\"name\": {\"en\": \"San Jose McEnery Convention Center\"}, \"address_id\": \"e105efb7-b0d1-4144-8b8e-72eadf95724f\", \"display_point\": {\"type\": \"Point\", \"coordinates\": [-121.889164, 37.32925]}}}"
}