Interface description
Modify linkage alarm
Request Example
https://v7.cmsv8.com/StandardApiAction_editRule.action?jsession=66d754dd7f41473dbd2&id=672&name=test77777&text=text¶m=1,11000000,0,00000000,,&begintime=12:00:00&endtime=14:00:00
Request parameters
| Parameter name |
Parameter type |
Is required |
Example |
Description |
| jsession |
string |
Yes |
66d754dd7f41473dbd2 |
Session number |
| id |
number |
Yes |
672 |
Rule id |
| name |
string |
Yes |
test77777 |
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) |
| 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 |
|---|
| 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
{"result":0}