监听Method: - patrol.position.record
事件类型: - business
示例:
{
"category": "business",
"id": 1610605689733,
"info": {
"recordId": 11,
"userId": 6,
"userName": "巡更人NAME",
"swipeTime": "2021-01-11 11:22:11",
"cardNumber": "D765C61A",
"channelId": "100001$52$1",
"channelName": "视频通道",
"channelType": 1,
"stat": 1,
"configInterval": 10,
"deviceCode": "1000086"
},
"method": "patrol.position.record",
"subsystem": "evo-jpatrol"
}
请求参数:
参数 | 类型 | 描述 |
---|---|---|
recordId | string | 巡更班次ID; 必有 |
userId | int | 巡更人ID; 必有 |
userName | string | 巡更人NAME; 必有 |
swipeTime | string | 刷卡时间 必有 |
cardNumber | string | 刷卡卡号; 必有 |
channelId | int | 通道ID; 必有 |
channelName | string | 通道NAME; 必有 |
channelType | int | 通道类型门禁、智能, 1=门禁通道,2=智能通道; 必有 |
stat | int | 巡更状态, 1=待执行2=正常3=漏巡4=未按次序5=未按间隔; 必有 |
configInterval | string | 时间间隔; 必有 |
deviceCode | string | 设备编号; 必有 |