---
title: "Retrieve sites with or without floor configuration"
method: GET
path: "/network-monitoring/v1/sitemaps/sites"
tags: ["FloorPlan"]
---

# Retrieve sites with or without floor configuration

`GET /network-monitoring/v1/sitemaps/sites`

## Request

- Base URL: `https://sso.common.cloud.hpe.com`
- URL: `https://sso.common.cloud.hpe.com/network-monitoring/v1/sitemaps/sites`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://sso.common.cloud.hpe.com/as/token.oauth2`
- TypeScript: <https://skmtc.dev/arubanetworks/apis/authorization/docs/network-monitoring/v1/sitemaps/sites/get.ts> (a function with typed inputs; its response is checked against the schema)

This API provides a list of sites that have floors configured or sites that do not have any floors configured.

## Query parameters

- `filter` string, const: OData 4.0 filter string for hasFloors boolean field.
- `limit` integer: Specifies the number of results to be returned. (Default: 20)
- `offset` integer: Specifies the number of results to skip before returning results. (Default: 0)

## Response `200`

Returns List of Sites with or without floor information.

- SitesSummaryResponse: Response containing summary of sites
  - `items` SiteInfo[]
    - `scopeId` string, required: Unique identifier for the site
    - `scopeName` string: Name of the site
  - `total` integer: Total number of sites matching the filter (unaffected by limit and offset)
  - `offset` integer: Specifies the number of results to skip before returning results. (Default: 0)
  - `count` integer: Number of sites returned in this page (respects limit and offset parameters)

## 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)
