---
title: "设备统计详情"
method: POST
path: "/api/v1/things/device/info/count"
tags: ["things/device/info", "thingsDeviceInfo"]
---

# 设备统计详情

`POST /api/v1/things/device/info/count`

## Request body

- DeviceCountReq
  - `countTypes` string[], required — 总数:total,在线设备数:status,设备类型: deviceType
  - `rangeIDs` string[], required — 统计的id列表, areaID或者groupID
  - `rangeType` string, required — 0:全部 1:area 2:group

## Response `200`

A successful response.

- object
  - `code` integer
  - `data` DeviceCountResp
    - `list` DeviceCountInfo[], required
      - `count` object, required
      - `rangeID` string, required
  - `msg` string

---

[API](https://skmtc.net/unitedrhino/apis/things-api.md) · [All operations](https://skmtc.net/unitedrhino/apis/things-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unitedrhino/things-api/versions/f3bdeb916389/schema)
