访客行踪推送

事件method

visitor.record

事件类型

business

参数说明

字段必选说明类型备注
visitorNameY访客姓名string
deviceCodeY设备编号string
swingTimeY通行时间string
personTypeY人员类型string
enterOrExistY访客状态int访客状态:0-来访变更为离访或者其他状态,1-预约变更为来访状态,2-离访状态
deviceNameY设备名称string
openTypeY开门类型string
visitorIdY访客预约idint
visitorPicN访客图片string访客图片相对地址,完整地址访问参考图片拼接规则
visitorOrgN访客单位string
nameN访客姓名string
cellPhoneN访客电话string
plateNumN访客车牌string
idNumberN访客证件号string
purposeN访客来访理由string
visitorCodeN访客编号string
ownerIdN被访人IDint
ownerNameN被访人姓名string
visitorStartN预约来访时间string
visitorEndN预约离访时间string
realStartN实际来访时间string
realEndN实际离访时间string

消息协议

访客行踪推送

{
	"category": "business",
	"id": 1610605689733,
	"info": {
		"purpose": "",
		"visitorEnd": "2021-01-14 23:59:59",
		"swingTime": "2021-01-14 14:28:08",
		"idNumber": "220103199201032698",
		"ownerId": 64,
		"deviceName": "园区lxk楼栋挂载小区55幢1单元数字门口机(白光)_02",
		"openType": 1434,
		"visitorName": "恢复的",
		"visitorOrg": "",
		"personType": "visitor",
		"enterOrExist": 0,
		"deviceCode": "1000086",
		"plateNum": "",
		"realEnd": "",
		"name": "恢复的",
		"realStart": "2021-01-14 14:04:21",
		"visitorCode": "11896833",
		"cellPhone": "13625872569",
		"visitorId": 54,
		"visitorStart": "2021-01-14 14:02:00"
	},
	"method": "visitor.record",
	"subsystem": "evo-visitor"
}
  
访客状态变更信息

事件method

visitor.status

事件类型

business

参数说明

字段必选说明类型备注
idY访客预约idlong
nameY访客姓名string
codeY设备编号string
statusY访客状态string0:默认,1:预约,2:在访,3:离访,4:取消预约
isvIdY被访人IDstring
phoneN电话string
cardNumberN卡号string
appointmentArrayTimeN预约到达时间string
appointmentLeaveTimeN预约离开时间string
leaveTimeN离开时间string
arrayTimeN到达时间string
visitorPicN上传的访客照片地址,完整地址访问参考图片拼接规则string
capturePicN抓拍的访客照片地址string
facePathN人脸图片地址,visitorPic和capturePic哪个参数有值,facepath就取值哪个,完整地址访问参考图片拼接规则string
certificateNumberN认证号码string
certificateTypeN认证类型int
carNumberN车牌号码string
workPlaceN工作地点string
reasonN来访原因string
domainIdN域IDstring
channelCodeN通道编码string

消息协议

访客状态变更信息

{
    "category":"business",
    "id":1639710083012,
    "info":{
        "visitors":[
            {
                "leaveTime":"",
                "reason":"255",
                "code":"24165089",
                "appointmentArrayTime":"2021-12-23 10:57:00",
                "appointmentLeaveTime":"2021-12-23 15:57:00",
                "carNumber":"浙A57890",
                "phone":"13888888888",
                "certificateNumber":"1",
                "arrayTime":"",
                "name":"asa",
                "visitorPic":"46fddb1e-1f89-11ec-b68d-000af7e567e2/20211217/1/9dbe19ee-5ee5-11ec-bd45-000af7e567e2.jpeg",
                "isvId":1,
                "id":21,
                "workplace":"1",
                "cardNumber":"90090024",
                "status":0,
                "certificateType":"学生证"
            }
        ]
    },
    "method":"visitor.status",
    "subsystem":"evo-visitor"
}