2.5.1同步下发人员后回调上报记录

2.5.1应用场景

第三方平台根据调用接口同步下发人员信息到设备后,设备上报通知平台下发结果,平台转发给第三方。

2.5.2返回结果

字段 类型 描述 示例值
method string 记录标识 authstatus
companyno string 企业编号 17021236654111
appid string 第三方appid e41e0f04d13e4196
timestamp string 时间戳字符串 20200701161800123
sign string 签名字符串 同社区接口签名一致
data string 参数必须是正确的json字符串格式,并且经过AES加密 详情见参数示例
– no string 人员编号
– deviceno string 设备编号
– resultcode string 下发结果状态 1=成功,0=失败
– msg string 下发结果描述

返回成功

{
"appid":"pmd934dced8bf53682",
"companyno":"175212253682",
"method":"authstatus",
"timestamp":"20250514151647740",
"data":"{"no":"123456789","deviceno":"22012521131C","resultcode":"1","msg":"上报成功"}",
"sign":"b158f3b2af0b5b2150f897b7ce8ed5f6"
}

返回失败

{
"appid":"2201140459374",
"companyno":"175212253682",
"method":"authstatus",
"timestamp":"20220330142506052",
"data":"{"no":"123456789","deviceno":"22012521131C","resultcode":"0","msg":"上报失败"}",
"sign":"7cc62da13e3c91bc8b7a07706d6a5243"
}
作者:张浩  创建时间:2025-06-30 14:07
最后编辑:张浩  更新时间:2025-06-30 15:28