已挂接设备列表
已测完
POST
/zt/api/v1/data/file/equipment/list
2023-11-09
请求参数
Body 参数application/json
documentId
string
文件ID
documentVersion
integer
文件版本
示例
{
"documentId": "string",
"documentVersion": 0
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/zt/api/v1/data/file/equipment/list' \
--header 'Content-Type: application/json' \
--data-raw '{
"documentId": "string",
"documentVersion": 0
}'
返回响应
🟢200成功
application/json
Body
data
array [object {9}] | null
可选
id
string | null
关联Id
deviceId
string | null
设备Id
deviceName
string | null
设备名称
objectId
string | null
可选
location
object
设备位置
rotation
string | null
可选
urn
string | null
可选
jobType
string | null
可选
type
string | null
可选
code
integer | null
可选
msg
string | null
可选
示例
{
"data": [
{
"deviceId": "",
"deviceName": "",
"objectId": "",
"location": {
"x": 0,
"y": 0,
"z": 0
},
"rotation": "",
"urn": "",
"jobType": "",
"type": ""
}
],
"code": 0,
"msg": ""
}
修改于 2025-03-27 10:15:23