Skip to content

激活楼层 ​

https://cnapi.sciener.com/v3/lift/activateFloors

通过网关或WiFi锁远程激活梯控楼层,只有梯控才支持该功能。

1 HTTP请求方法及示例 ​

POST, ContentType:application/x-www-form-urlencoded

javascript
curl --location -g --request POST 'https://cnapi.sciener.com/v3/lift/activateFloors' \
--data-urlencode 'clientId=4773aa036f7f49c68d876bb4be85c80c' \
--data-urlencode 'accessToken=dfd5489d0cee31f0bdfaf59d0d42d71f' \
--data-urlencode 'lockId=163377' \
--data-urlencode 'floorList=[1,2,3]' \
--data-urlencode 'date=1625025703000'

2 参数说明 ​

名称类型是否必需描述
clientIdStringY创建应用分配的client_id
accessTokenStringY访问令牌,通过获取访问令牌接口获取
lockIdIntY锁ID,由锁初始化接口生成
floorListStringY楼层列表,示例:[1,2,3] 表示激活第1、2、3层
dateLongY当前时间(时间戳,单位毫秒)

3 返回参数及示例 ​

参数类型描述
errcodeInt错误码
errmsgString错误信息
descriptionString错误描述
{
    "errcode": 0, 
    "errmsg": "none error message",
    "description":"表示成功或是"
}