智慧硬件开发 硬件云端接入 考勤/门禁设备 回调通知 远程开门指令
远程开门指令
最后更新:2022/07/28
可联系渠道经理采购或代理智慧硬件接口已支持设备 联系渠道经理
远程开门指令
最后更新:2022/07/28

成员在企业微信门禁app点击远程开门时,会触发远程开门指令回调。
企业微信回调事件到厂商在设备型号详情中登记的回调URL

请求方式:POST(HTTPS
请求地址:https://127.0.0.1/suite/receive?msg_signature=3a7b08bb8e6dbce3c9671d6fdb69d15066227608&timestamp=1403610513&nonce=380320359
请求包体:

{
    "msg_type":"command",
    "base_info":{
        "req_id":"xxx",
        "device_sn":"xxx",
        "createtime":1658332800,
        "model_id":"xxx",
        "auth_corpid":"xxx",
        "service_corpid":"xxx"
    },
    "command":{
        "command_type":"remote_open_door",
        "open_userid":"xxxx",
        "oper_id":"xxxx"
    }
}

参数说明:

参数名类型描述
msg_typestring用于表示本消息是 事件event 还是指令 command,此处固定为command , 对应command节点数据有效
command结构体指令数据
command_typestring指令类型,远程开门,此处固定为remote_open_door
oper_idstring本次操作的id
open_useridstring成员id(字符串)
base_info结构体固定字段基础数据
req_idstring请求req_id,可以用于排重
device_snstring设备序列号,在第三方管理端登记的SN
createtimeuint32事件触发时间戳(unix 时间戳 单位:秒)
model_idstring设备型号modelid
auth_corpidstring绑定设备企业的corpid
service_corpidstring硬件提供商企业corpid
服务商的响应必须在1000ms内完成
上一篇
识别信息录入指令
下一篇
识别信息删除回调