---
title: "Retrieve building information"
method: GET
path: "/network-monitoring/v1/sitemaps/{site-id}/buildings"
tags: ["FloorPlan"]
---

# Retrieve building information

`GET /network-monitoring/v1/sitemaps/{site-id}/buildings`

## Request

- Base URL: `https://sso.common.cloud.hpe.com`
- URL: `https://sso.common.cloud.hpe.com/network-monitoring/v1/sitemaps/{site-id}/buildings`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://sso.common.cloud.hpe.com/as/token.oauth2`

This API provides building and floor information created under a given site.

## Response `200`

Returns the Building information

- BuildingWithFloorsResponse
  - `items` object[], required
    - `type` string, const, required: API type.
    - `id` string, const, required: id of the building associated with the site commonly in UUID format.
    - `buildingId` string: building Id associated with the site in UUID format.
    - `floors` FloorMapResponse[]
      - `type` string, const, required: API type.
      - `id` string, const, required: floorId associated with the site commonly in UUID format.
      - `floorId` string, uuid, required
      - `tenantId` string, string
      - `properties` object, required
        - `name` string, string
        - `ordinal` number, double
        - `length` number, double
        - `breadth` number, double
        - `buildingId` string, uuid
        - `siteId` string, uuid
    - `properties` object
      - `name` string, string
  - `count` integer, required: The number of objects returned in the current list.

## Other responses

- `400`: Invalid input received.
- `401`: Unauthorized. Authentication credentials are required or invalid.
- `403`: Forbidden: Access is denied.
- `404`: Not Found error.
- `429`: Too Many Requests. The user has sent too many requests in a given amount of time.
- `500`: Internal Server Error. An unexpected error occurred on the server.

---

[API](https://skmtc.dev/arubanetworks/apis/authorization.md) - [All operations](https://skmtc.dev/arubanetworks/apis/authorization/llms.txt) - [OpenAPI document](https://skmtc.dev/arubanetworks/apis/authorization/revisions/74c95058b11f?raw)
