---
title: "获取网关可以绑定的子设备列表"
method: POST
path: "/api/v1/things/device/msg/gateway-can-bind-index"
tags: ["things/device/msg", "thingsDeviceMsg"]
---

# 获取网关可以绑定的子设备列表

`POST /api/v1/things/device/msg/gateway-can-bind-index`

## Request body

- GatewayCanBindIndexReq
  - `gateway` DeviceCore, required
    - `deviceName` string, required — 设备名称
    - `productID` string, required — 产品ID
    - `productName` string

## Response `200`

A successful response.

- object
  - `code` integer
  - `data` GatewayCanBindIndexResp
    - `subDevices` DeviceCore[], required — 如果是不同的产品,则传这个字段,上面两个参数填了优先使用
      - `deviceName` string, required — 设备名称
      - `productID` string, required — 产品ID
      - `productName` string
    - `updatedTime` integer, 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)
