{
"codes": [
"zinghuaceshishequbvirtual_test_0063",
"zinghuaceshishequbvirtual_test_0064"
],
"alarmType": "点位离线报警",
"containerId": "zinghuaceshishequb",
"startTime": "1710118946000",
"endTime": "1741654946000"
}
curl --location --request POST '/openservice/iot-service/sensor/batchCountAlarmData' \
--header 'X-Qpaas-Dev-Tags: ylh' \
--header 'Cookie: PHPSESSID=2b6bcd0d-8fbe-4dfc-86f7-1f52397d4b0a; access_token=2b6bcd0d-8fbe-4dfc-86f7-1f52397d4b0a' \
--header 'Content-Type: application/json' \
--data-raw '{
"codes": [
"zinghuaceshishequbvirtual_test_0063",
"zinghuaceshishequbvirtual_test_0064"
],
"alarmType": "点位离线报警",
"containerId": "zinghuaceshishequb",
"startTime": "1710118946000",
"endTime": "1741654946000"
}'
{
"result": [
{
"code": "zinghuaceshishequbvirtual_test_0063",
"time": "2025-03-11 09:02:24.350",
"count": 73
}
],
"msg": "ok",
"code": 200,
"status": 200
}