查询探测器索引设置列表
GET
/api/deviceDetectorIndexSettings/getDetectorIndexSettingsByDeviceNameAndSensor
互联测控参数设置/后台相关/历史数据
请求参数
Query 参数
deviceName
string
设备名称
示例值:
0ef3f567ce16
sensor
integer
sensor值
示例值:
62266
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/deviceDetectorIndexSettings/getDetectorIndexSettingsByDeviceNameAndSensor?deviceName=0ef3f567ce16&sensor=62266'
返回响应
🟢200成功
application/json
Body
array of:
detectorIndex
integer
探测器索引
detectorType
integer
探测器类型
deviceName
string
设备名称
deviceNameIndex
string
ID
lastUpdated
string
更新时间
state
boolean
状态
typeIndex
string
探测器索引类型
示例
[
{
"detectorIndex": 4,
"detectorType": 5,
"deviceName": "0ef3f567ce16",
"deviceNameIndex": "0ef3f567ce16_4",
"lastUpdated": "2024-02-23 11:44:24",
"state": true,
"typeIndex": "5_4"
},
{
"detectorIndex": 5,
"detectorType": 0,
"deviceName": "0ef3f567ce16",
"deviceNameIndex": "0ef3f567ce16_5",
"lastUpdated": "2024-02-23 11:44:24",
"state": false,
"typeIndex": "0_5"
},
{
"detectorIndex": 6,
"detectorType": 11,
"deviceName": "0ef3f567ce16",
"deviceNameIndex": "0ef3f567ce16_6",
"lastUpdated": "2024-02-23 11:44:24",
"state": true,
"typeIndex": "11_6"
},
{
"detectorIndex": 7,
"detectorType": 12,
"deviceName": "0ef3f567ce16",
"deviceNameIndex": "0ef3f567ce16_7",
"lastUpdated": "2024-02-23 11:44:24",
"state": true,
"typeIndex": "12_7"
}
]