alarmFilePage
POST
/v2/openapi/alarm/file/pageThe source of the alarmType comes from the 'alarmTypeList'
Request
Body Params application/json
pageSize
integer | null
optional
Default:
10
pageIndex
integer | null
optional
Default:
1
deviceIds
string | null
optional
deviceIds ,segmentation
alarmType
string | null
optional
alarmType split by , can be empty,default all
source from alarmTypeList
alarmType:acc、accOff、accOff...
startTime
string | null
required
startTime yyyy-MM-dd HH:mm:ss Device Time Zone
endTime
string | null
required
endTime yyyy-MM-dd HH:mm:ss Device Time Zone
Example
{
"pageSize": "10",
"pageIndex": "1",
"deviceIds": "string",
"alarmType": "string",
"startTime": "string",
"endTime": "string"
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
code
integer | null
optional
data
object (PageResult«ApiAlarmFileVO»)
optional
records
array[object (ApiAlarmFileVO) {8}] | null
optional
total
integer | null
optional
size
integer | null
optional
current
integer | null
optional
msg
string | null
optional
Example
{
"code": 0,
"data": {
"records": [
{
"alarmId": "",
"alarmType": "",
"deviceName": "",
"deviceId": "",
"alarmTime": "",
"fileUrl": "",
"fileType": "",
"fileSize": 0
}
],
"total": 0,
"size": 0,
"current": 0
},
"msg": ""
}
Last modified: a month ago