Skip to main content
POST
/
api
/
device
/
task
/
import
设置数据excel导入
curl --request POST \
  --url https://api.example.com/api/device/task/import \
  --header 'Authentication: <authentication>' \
  --header 'Content-Type: multipart/form-data' \
  --form taskId=c669598d6bbf4a6c889b87697b5a0400 \
  --form file='@example-file'
{}

Headers

Authentication
string
default:{{token_1}}
required

Body

multipart/form-data
taskId
string
required
Example:

"c669598d6bbf4a6c889b87697b5a0400"

file
file
Example:

"file://C:\\Users\\zhongsong\\Desktop\\设备变量.xlsx"

Response

200 - application/json

The response is of type object.