Interface description
Alarm processing
API address
https://v7.cmsv8.com/StandardApiAction_oneClickProcessing.action
Request parameters
| Parameter Name | parameter Type | whether it is necessary | example | parameter meaning | ||
|---|---|---|---|---|---|---|
| jsession | string | yes | 66d754dd7f41473dbd2 | session Number | ||
| json | json | yes | ||||
| HandleFlag | number | yes | 15 | processing module, flag bit by bit, message from bit 0 1st alarm processing 2nd alarm processing and reporting 3rd alarm clear 4th alarm supplementary report | ||
| TtsFlag | number | yes | 12 | the tts flag bit sent to the device is accumulated by bit of the message type. Urgent: 1 (1st); terminal display: 4 (third); terminal TTS broadcast reading: 8 (fourth bit); advertising screen display: 16 (fifth place) for example, only emergency and terminal TTS broadcast reading: 9(1001, I .e. 18=9) all: 29 (11101, I .e. 1 4 8 16=29) | ||
| HandleWay | string | yes | 2 | processing default 0 2- Voice distribution 3- Telephone Notification 4- Warning Reminder 5 False alarms 6- Other 8- Confirmation 9- Prompt driver correction 10- Reminders have been issued to correct instructions. Then the alarm is released 11- Reminders have been issued to correct instructions. Then report to the enterprise security management organization, and finally alarm release 12- Reminders have been issued to correct instructions. Then report to the enterprise safety management organization, because it is still not corrected, timely report to the traffic management department of the public security organ 13- Custom 14- WeChat Notification | ||
| FalseArmReason | string | no | verified | reasons for false alarm verified- verified false positives equipmentfailure- Equipment Failure badweather- bad weather sensitivityHigh- Sensitivity too high other- Other cameraReflection- Sunlit Driver Camera Reflective driverEating- Driver Eating driverDrinksWater- DRIVER WATER containsForeignMatter- foreign object on the driver's mouth foreignBodyInEar- foreign object near driver's ear passengersAnswerCalls- Rear passengers pick up and call gasStationSignalInterference- Signal Interference at Gas Station in Vehicle Parking Plant signalInterferenceSection- Signal Interference Section parameterConfigurationError- Data Parameter Configuration Error | ||
| HandleInfo | string | yes | please drive safely | the content of the alarm processing, the text sent to the device. | ||
| Result | number | yes | 2 | default 0 processing report 1 in processing, 2 After processing, 3 do not handle, 4 Future treatment 210- System false alarm 211- Terminal Failure 212- Driver Education and Training 213- Driver Financial Penalty 214- interview with the person in charge of the transportation enterprise 215- Penalties for transport enterprises 216- Shutdown Rectification 17- False positives 18- Driver promptly corrected 19- Reminders have been issued to correct instructions. Then the alarm is released 20- Reminders have been issued to correct instructions. Then report to the enterprise security management organization, and finally alarm release 21- Reminders have been issued to correct instructions. Then report to the enterprise safety management organization, because it is still not corrected, timely report to the traffic management department of the public security organ 22- Custom | ||
| LIST | array | yes | undefined | |||
| Guid | string | yes | 00013300000002250314153910000300 | alarm GUID | ||
| DevIDNO | string | yes | 013300000002 | equipment No. | ||
| InfoID | string | yes | 26 | alarm ID recId in the alarm | ||
| ArmType | string | yes | 625 | alarm Type | ||
| ArmDesc | string | yes | SBAC=48423131313134250314153910000300 | alarm description armDesc | ||
| Time | number | yes | 1741937950 | the armTimeStart time needs to be converted to UTC time (timestamp seconds) | ||
Example of the json parameter:
{
"HandleFlag": 15
"TtsFlag": 12
"HandleWay": "9 ",
"HandleInfo": "Drive 111 cautiously",
"Result": 2
"LIST ": [
{
"Guid": "00013300000002250314153910000300 ",
"DevIDNO": "013300000002 ",
"InfoID ": "",
"ArmType": "625 ",
"ArmDesc ": "",
"Time": 1741937950
}
]
}
Return parameters
| Parameter Name | parameter Type | parameter meaning |
|---|---|---|
| cmsserver | number | server status code. 1 indicates normal, and others indicate abnormal. (For more information, see [Error Code Description](https://help.cmsv8.com/helpCenter/doc/index.html?isStudy=1&pageType=3&docId=1321&type=1&lang=en ": Error Code Description)") |
| result | number | interface status code, 0 is normal, and others are abnormal. (For more information, see [Error Code Description](https://help.cmsv8.com/helpCenter/doc/index.html?isStudy=1&pageType=3&docId=1321&type=1&lang=en "Error Code Description").) |
Return Example
{
"cmsserver": 1
"result": 0
}