---
title: "导入批量更新设备"
method: POST
path: "/api/v1/things/device/info/multi-update-import"
tags: ["things/device/info", "thingsDeviceInfo"]
---

# 导入批量更新设备

`POST /api/v1/things/device/info/multi-update-import`

## Request body

- object
  - `file` string, binary, required

## Response `200`

A successful response.

- object
  - `code` integer
  - `data` DeviceMultiUpdateImportResp
    - `errCount` integer, required — 失败数
    - `errDetail` DeviceMultiUpdateImportError[], required — 失败详情
      - `code` integer, required
      - `device` DeviceCore, required
        - `deviceName` string, required — 设备名称
        - `productID` string, required — 产品ID
        - `productName` string
      - `msg` string, required
    - `ignoreCount` integer, required — 忽略数
    - `succCount` integer, required — 成功数
    - `total` integer, required — 导入总接口数
  - `msg` string

## Changes

- **2026-03-27** `b9582d0ab6af` — 2 info
  - added optional request body
  - added the media type `application/json` for the response with the status `200`
- **2025-03-14** `e87dbcac5d9e` — 2 breaking
  - removed the request body
  - removed the media type `application/json` for the response with the status `200`

[Change history](https://skmtc.dev/unitedrhino/apis/things-api/changes/api/v1/things/device/info/multi-update-import/post.md)

---

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