---
title: "Get interface PoE for a Switch"
method: GET
path: "/network-monitoring/v1/switches/{serial-number}/interface-poe"
tags: ["Switch"]
---

# Get interface PoE for a Switch

`GET /network-monitoring/v1/switches/{serial-number}/interface-poe`

## Request

- Base URL: `https://sso.common.cloud.hpe.com`
- URL: `https://sso.common.cloud.hpe.com/network-monitoring/v1/switches/{serial-number}/interface-poe`
- 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/switches/:serial-number/interface-poe/get.ts> (a function with typed inputs; its response is checked against the schema)

This API provides interface poe detail for a serial or stack id for a specific site. Conductor serial may also be used instead of a stack id

## Path parameters

- `serial-number` string, const, required: The device serial number.

## Response `200`

Object containing interface poe related to the switch.

- InterfacePoeResponse: Fields appended to a list to facilitate paging.
  - `items` SwitchInterfacePoE[], required
    - `id` string, required: identifier.
    - `type` string, required: Type of the response.
    - `name` string: interface name.
    - `serialNumber` string: Serial of the switch.
    - `siteId` string, const
    - `tenantId` string: Tenant id.
    - `powerDrawnInWatts` number, float: Power drawn in watts for the switch.
    - `powerDeniedCount` number, float: Power denied count for the switch.
    - `timestamp` number: Timestamp for the interface poe.
  - `count` integer, required: The number of objects returned in the current list.
  - `total` integer, required: The total number of objects contained in the datastore.
  - `offset` string, const, required: An offset which could be passed in the next query to fetch the next page. Set to null when no more pages remain.

## Other responses

- `400`: Invalid input received.
- `401`: Unauthorized. Authentication credentials are required or invalid.
- `403`: Forbidden: Access is denied.
- `404`: Device with serial number not found.
- `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)
