Authorization: Bearer ********************
curl --location --request GET 'https://jiugang.mhiiot.cn/openapi/projectapi/DataReportAlarmEventAnalysis/TimeTrend?BeginDate=2024-12-10&EndDate=2024-12-10&StatisticType=1' \
--header 'Authorization: Bearer <token>'
{
"statusCode": 200,
"data": [
{
"name": "告警",
"data": [
{
"x_Value": "00:00",
"date": "2024-12-01 00:00:00",
"value": 71
},
{
"x_Value": "00:50",
"date": "2024-12-01 00:50:00",
"value": 71
},
{
"x_Value": "01:40",
"date": "2024-12-01 01:40:00",
"value": 71
},
{
"x_Value": "02:30",
"date": "2024-12-01 02:30:00",
"value": 71
},
{
"x_Value": "03:20",
"date": "2024-12-01 03:20:00",
"value": 71
},
{
"x_Value": "04:10",
"date": "2024-12-01 04:10:00",
"value": 89
}
]
},
{
"name": "故障",
"data": [
{
"x_Value": "00:00",
"date": "2024-12-01 00:00:00",
"value": 0
},
{
"x_Value": "00:50",
"date": "2024-12-01 00:50:00",
"value": 0
},
{
"x_Value": "01:40",
"date": "2024-12-01 01:40:00",
"value": 0
},
{
"x_Value": "02:30",
"date": "2024-12-01 02:30:00",
"value": 0
},
{
"x_Value": "03:20",
"date": "2024-12-01 03:20:00",
"value": 0
},
{
"x_Value": "04:10",
"date": "2024-12-01 04:10:00",
"value": 0
}
]
}
],
"errorMessage": "",
"mD5": "e5bbdaf2eb215063f1ad2749cb42f579",
"isSuccess": true,
"timestamp": "1733934258"
}