CMSV6Help Center
/
839 DOCS · 211 VIDEOS中文

Obtain device alarm data

Author adminUpdated 2026-08-04 10:08:24Doc ID 1323810 words · 4 min readView original ↗

Interface description

Obtain device alarm data

Request Example

https://v7.cmsv8.com/StandardApiAction_queryAlarmDetail.action?jsession=66d754dd7f41473dbd2a84d4a5499085&devIdno=013300000001&begintime=2024-12-01 00:00:00&endtime=2024-12-01 23:59:59&armType=2,9,11&handle=0&currentPage=1&pageRecords=50&toMap=0

Request parameters

Parameter name Parameter type Must Example Parameter meaning
jsession string is session number
devIdno string Yes 013300000001 The device number can be multiple, divided by ',' If it is empty, the license plate number will be judged
vehiIdno string Yes S66666 The license plate number can be multiple, divided. If the device number is blank, the license plate number is judged.
begintime string Yes 2024-12-01 00:00:00 Start Time
endtime string Yes 2024-12-01 23:59:59 The end time start time must not be greater than the end time, and the query days must not be greater than 90 days
armType string Yes 1,2,3,4 Alarm type Multiple alarms are separated by "," and cannot be empty.
handle number No 1 Processing status 1 means processed, 0 means unprocessed, and others query all statuses
toMap number No 0 Map coordinate conversion: 0 means WGS84 coordinates (default);1 means Google coordinates (gj02);2 means Baidu coordinates (bd09)
geoaddress number No 1 Whether to resolve geographic location 1 means to provide geographic location resolution service. If not, geographic location will not be resolved
currentPage number No 1 If the current query page number is empty, the page will not be paged.
pageRecords number No 10 If the number of pages per page is empty, there will be no paging

If the device number and license plate number are both blank, all authorized devices under the login account are queried.

Return parameters

Parameter Name parameter Type meaning of parameters
result number interface status code, 0 is normal, and other information is abnormal. For more information, see [Error Code Description](/helpCenter/doc/index.html?isStudy=1&pageType=3&docId=1321&type=1 "Error Code Description").
alarms array alarm data
info number alarm information
desc string alarm Description
atp number for details about the alarm type, see [Alarm Type Description](/helpCenter/doc/index.html?isStudy=1&pageType=3&docId=1324&type=1 "Alarm Type Description").
did string equipment No.
vid string if the license plate number is queried by equipment number, it is empty.
cid number company ID (Company)
etm number alarm End Time (UTC) Seconds
stm number alarm Start Time (UTC) Seconds
guid string alarm Unique Number
p1 number for details about alarm parameter 1, see [Alarm Type description](/helpCenter/doc/index.html?isStudy=1&pageType=3&docId=1324&type=1 "Alarm Type description").
p2 number for details about alarm parameter 2, see [Alarm Type description](/helpCenter/doc/index.html?isStudy=1&pageType=3&docId=1324&type=1 "Alarm Type description").
p3 number for details about alarm parameter 3, see [Alarm Type description](/helpCenter/doc/index.html?isStudy=1&pageType=3&docId=1324&type=1 "Alarm Type description").
p4 number for more information about alarm parameters, see [Alarm Type Description](/helpCenter/doc/index.html?isStudy=1&pageType=3&docId=1324&type=1 "Alarm Type Description").
img string for picture information; separated, it is an http address path, which can be multiple picture information.
hd number processing status 0 means unprocessed,1 means processed,5 means false positives
hdu string processing user id
hdc string processing content
hdt string processing time
ss1 number for details about the alarm start status 1, see [Alarm Status Description](/helpCenter/doc/index.html?isStudy=1&pageType=3&docId=1326&type=1 "Alarm Status Description").
ss2 number for details about the alarm start status 2, see [Alarm Status Description](/helpCenter/doc/index.html?isStudy=1&pageType=3&docId=1326&type=1 "Alarm Status Description").
ES1 number for details about the alarm end status 1, see [Alarm Status Description](/helpCenter/doc/index.html?isStudy=1&pageType=3&docId=1326&type=1 "Alarm Status Description").
ES2 number for details about the alarm end status 2, see [Alarm Status Description](/helpCenter/doc/index.html?isStudy=1&pageType=3&docId=1326&type=1 "Alarm Status Description").
slng number alarm start longitude
slat number alarm start latitude
elng number alarm end longitude
elat number alarm End Latitude
ssp number alarm start speed. unit: km/h, divided by 10 in use
esp number alarm end speed. unit: km/h, divided by 10 during use
sdrsnumberAlarm Start Driving Recorder Speed. unit: km/h, divided by 10 in use
edrsnumberAlarm End Driving Recorder Speed. unit: km/h, divided by 10 in use
slc number alarm start mileage Unit: m
elc number mileage at the end of alarm Unit: m
smlng string the converted longitude of the alarm start map longitude
smlat string the converted latitude of the alarm start map latitude
emlng string the converted longitude of the map after the alarm ends
emlat string the converted latitude of the map after the alarm ends
sps string the geographical location after the alarm start geographical location analysis or (the longitude of the alarm start map,Alarm Start Map Latitude)
eps string the geographical location after the end start geographical location resolution or (longitude of the alarm end map, latitude of the alarm end map)
createtime string update time
pagination object paging information
totalPages number total number of pages of query data
currentPage number current Query Page Number
pageRecords number number of entries per page
totalRecords number total number of query data

Return Example

{
  "result": 0,
  "alarms":[
    {
      "info": 0,
      "desc":"",
      "atp":11,
      "did":"013300000001",
      "vid":null,
      "cid":1,
      "etm":1451374197000,
      "stm":1451374197000,
      "guid":"500000EB9B109898F74ADCB1B4446B9FFD2",
      "p1":12000,
      "p2":6000,
      "p3":10000,
      "p4":0,
      "img":"",
      "hd":1,
      "hdu":"cmsv6",
      "hdc":"vcxvcvcxv",
      "hdt":"2024-12-01 16:50:50",
      "ss1":805327235,
      "ss2":0,
      "es1":805327235,
      "es2":0,
      "slng":113850504,
      "slat":22628389,
      "elng":113850504,
      "elat":22628389,
      "ssp":990,
      "esp":990,
      "slc":164338463,
      "elc":164338463,
      "smlng":"113.861938",
      "smlat":"22.631491",
      "emlng":"113.861938",
      "emlat":"22.631491",
      "sps":"113.861938,22.631491",
      "eps":"113.861938,22.631491",
      "createtime":"2024-12-01 16:50:50"
    }
  ],
  "pagination":
    {
      "totalPages": 42,
      "currentPage": 1,
      "pageRecords": 50,
      "totalRecords": 2078,
      "sortParams": null,
      "hasNextPage": true,
      "hasPreviousPage": false,
      "nextPage": 2,
      "previousPage": 1,
      "startRecord": 0
    }
}
Source help.cmsv7.com
839 documents · 211 videos · docs.alwaycare.com