接口说明:

  • 制作多门卡

业务能力:

  • openSmartMultiLockCard

本地服务器版本:

  • V2.9.0

Content-Version:

  • 1.0

参数:

参数名层级类型条件说明备注
multiLockCardId1String可选多门卡ID此参数不为空以下参数可不填
需要挂失的卡片
endDate1long必填结束时间时间戳:秒
remark1string必填持卡人
isLock1int可选是否可开反锁0不允许
1允许
默认不允许
replaceFunction1int可选顶替前卡1顶替
2不顶替
默认不顶替
timePeriods1list可选可开时间段最多设置2个
beginTime2String可选时间段开始时间格式:HH:mm,如10:03
endTime2String可选时间段结束时间格式:HH:mm,如10:03
floorCode2int必填楼层号--
roomCode2int必填房间号--
subRoomName2String可选套房号--
云端发布Pub(示例):
{
	"tokenId": "aFqJ9GbjlmX0LHZosmciPH3Ewt4S53Fdt/AX7/to/I8IDaYsFkk1cIkz5Ez2Y/PvhDDKWppSuXv1QcPyLjF+g==",
	"method": "openSmartMultiLockCard",
    "data": {
        "isLock": 1,
        "replaceFunction": 1,
        "endDate": 1763222399,
		"remark": "xxx",
        "timePeriods": [
            {
                "beginTime": "09:00",
                "endTime": "18:00"
            },
            {
                "beginTime": "19:00",
                "endTime": "20:00"
            }
        ],
        "list": [
            {
                "buildingCode": 1,
                "floorCode": 9,
                "roomCode": 901,
                "subRoomName":"A"
            },
            {
                "buildingCode": 1,
                "floorCode": 9,
                "roomCode": 902
            }
        ]
    }
}
响应参数说明:
参数名层级类型条件描述备注
------------
边缘网关响应Sub(示例):
{
	"msgId": 345981978,
	"resultCode": 0,
	"reason": "",
	"method": "openSmartMultiLockCard",
	"data": {
	}
}