Skip to main content
POST
/
api
/
device
/
import
设备导入
curl --request POST \
  --url https://api.example.com/api/device/import \
  --header 'Authentication: <authentication>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form productModel=gtt \
  --form deptId=f1485fd8-cfed-42dd-b6c5-f2aebf2318cd
{}

Headers

Authentication
string
default:{{token_1}}
required

Body

multipart/form-data
file
file
required
Example:

"file://C:\\Users\\zliu\\Desktop\\设备导入.xlsx"

productModel
string
required
Example:

"gtt"

deptId
string
required
Example:

"f1485fd8-cfed-42dd-b6c5-f2aebf2318cd"

Response

200 - application/json

The response is of type object.