CMSV6Help Center
/
839 DOCS · 213 VIDEOS中文

New linkage alarm

Author 刘嘉平Updated 2024-12-24 17:51:08Doc ID 1377188 words · 1 min readView original ↗

Interface description

New linkage alarm

Request Example

https://v7.cmsv8.com/StandardApiAction_mergeRule.action?jsession=66d754dd7f41473dbd2&name=test66666&type=13&text=text&param=1,11000000,0,00000000,,&alarmType=11&begintime=12:00:00&endtime=14:00:00

Request parameters

Parameter name Parameter type Is required Example Description
jsession string Yes 66d754dd7f41473dbd2 Session number
name string Yes test66666 Rule name
begintime string Yes 12:00:00 File start time (12:30:30)
endtime string Yes 14:00:00 End Time (14:30:30)
alarmType string Yes 11 For details about alarm types, see Alarm Type Description
type number yes 13 fixed 13
param string yes 1,11000000,0, 0000000,0, parameter format: "p1,p2,p3,p4,p5,p6" p1 whether to take a picture 1 is 0 no; P2 allows you to set the photographing channel (16 channels are supported) when taking pictures. For example, 1010000000000000 means opening channels 1 and 3; P3 recording duration (0- 1800 seconds); P4 sets the recording channel (16 channels are supported) for example: 1010000000000000 means to open channels 1 and 3; P5 phone number, p6 mailbox; Example: 1,1010000000000000,10,1010000000000000,xxxx,xxx
text string no text prompt information

Return parameters

Parameter Name parameter Type meaning of parameters
rule_id number rule id
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&lang=en "Error Code Description").

Return Example

{
"rule_id": 672,
"result": 0
}
Source help.cmsv7.com
839 documents · 213 videos · docs.alwaycare.com