---
title: "Get asset meters"
method: GET
path: "/assets/AssetMeters"
tags: ["Assets"]
---

# Get asset meters

`GET /assets/AssetMeters`

## Request

- Base URL: `https://sb2api.servicechannel.com/v3`
- URL: `https://sb2api.servicechannel.com/v3/assets/AssetMeters`
- Auth: OAuth 2
  - Authorization code: `https://sb2login.servicechannel.com/oauth/authorize`
  - Token URL: `https://sb2login.servicechannel.com/oauth/token`
- TypeScript: <https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/docs/assets/AssetMeters/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the details of an asset meter by sending the `assetMeterId` parameter  or the details of one or several asset meters by using the `assetId` parameter.

## Query parameters

- `assetMeterId` integer
- `assetId` integer

## Response `200`

The asset meter details are in the response.

- ServiceChannelServicesMessagingAssetsAssetMeter[]
  - `Id` integer: Unique numeric identifier of an asset meter.
  - `AssetTypeMeterId` integer: Unique numeric identifier of the asset type meter.
  - `AssetId` integer: Unique numeric asset identifier.
  - `MeterTypeName` string: Name of an asset type meter.

## Other responses

- `400`: The request was not accepted due to bad syntax, missing parameters, insufficient data, etc. <br/>Error codes: AssetId and Id can't be both null
- `401`: The request is not authorized. <br/>Error codes: 504 — API call rejected by security permissions

---

[API](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3.md) - [All operations](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/llms.txt) - [OpenAPI document](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/revisions/d490d6596809?raw)
