巡更记录

监听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"
}

请求参数:

参数类型描述
recordIdstring巡更班次ID; 必有
userIdint巡更人ID; 必有
userNamestring巡更人NAME; 必有
swipeTimestring刷卡时间 必有
cardNumberstring刷卡卡号; 必有
channelIdint通道ID; 必有
channelNamestring通道NAME; 必有
channelTypeint通道类型门禁、智能, 1=门禁通道,2=智能通道; 必有
statint巡更状态, 1=待执行2=正常3=漏巡4=未按次序5=未按间隔; 必有
configIntervalstring时间间隔; 必有
deviceCodestring设备编号; 必有