1. Lock
Smart lock
English
  • 中文
  • English
  • Auth
    • Login
      POST
    • Code
      POST
    • Register
      POST
  • Lock
    • Query all locks held by the current user
      GET
    • Query the current lock details information
      GET
  • Password
    • Query all passwords of the current user
      GET
    • Time-limited password (offline password)
      POST
    • Single-time password (offline password)
      POST
    • Permanent password (offline password)
      POST
    • Clear the password (using this password to unlock, so the password will become invalid)
      POST
    • Cyclic cipher (offline cipher)
      POST
    • Password details
      GET
    • Delete password
      POST
    • Add password interface (to be called after the password is generated)
      POST
    • Change password
      POST
  • Bluetooth command
    • Door Lock Binding (Apartment)
      POST
    • Door Lock Binding (Dlock)
      POST
    • Add Lock Use
      POST
    • Modify Lock User
      POST
    • Delete Lock User
      POST
    • Read Door Lock Settings
      POST
    • Initialize Door Lock
      POST
    • Sync Door Lock Users
      POST
    • Sync Door Lock Operation Records
      POST
    • Get Lock Report Command Operations
      POST
    • Issue Door Lock Settings
      POST
    • Issue 4G Module Association
      POST
    • Issue Door Lock Operations
      POST
  • Card
    • Report card data (add card)
    • Delete Card
    • Get the current user's card list
    • Card Details
    • Modification Card
  • Fingerprint
    • Delete fingerprint
    • Report fingerprint data (add fingerprint)
    • Get the current fingerprint user list
    • Fingerprint Details
    • Modify fingerprint
  • Remote control
    • Delete remote
    • Report remote control data (add remote control)
    • Get the current list of remote control users
    • Remote control details
    • Modify remote control
  • Face
    • Delete face
    • Report facial data (add face)
    • Get the current list of facial recognition users
    • Facial Details
    • Modify face
  • Palm lines
    • Remove palm lines
    • Report palm print data (add palm print)
    • Get the current palm print user list
    • Palm print details
    • Modify palm lines
  • Door lock reports to the update server
    • Delete door lock
    • Save system settings
    • Synchronized door lock records (records not reported by the synchronized lock end)
    • Save lock end user
    • Save door lock settings
    • Save the door lock record, the current command is 0300 to call save
    • Report door lock binding 0700
    • 4G module association reporting
  • Operation Record
    • Get the current user's operation records
    • Delete operation records
    • Door lock records (no alarms)
  • Gateway
    • Query all gateways
    • Send instruction to unbind the gateway-door lock association
    • Unbind Gateway from Server-side User
  • Card issuing machine related interfaces
    • Method 1 for Binding the Card Issuing Machine
    • Method 2 for Binding the Card Issuing Machine
    • Delete card issuer
    • Delete online card
    • Create an online card to door lock device
    • Create an offline card for the hotel apartment
    • Online Card Save
    • Issue command to start collecting fingerprint data
    • Issue the command to stop collecting fingerprint data
    • Unbind card issuing machine
    • Synchronize and send fingerprint data to the door lock device
    • Query all card information based on the cardholder
  • 4G Direct Connection
    • Issue the command to associate the direct connection module with the door lock.
    • Report the association results of the direct connection module
    • Check the status of the direct connection module
    • 4G password delivery
  • 数据模型
    • 数据
    • 上报
    • 修改
    • 上报commonFormatData
    • 离线密码
    • 指令通用数据模型
  1. Lock

Query all locks held by the current user

开发中
GET
/locks/findAllByUserId/1994295702918381570
Get a list of all basic information of door locks bound to the currently logged-in user, including key fields such as door lock ID, name, and online status.
Usage scenario: When a user enters the door lock management homepage, load the list of all bound door locks.

请求参数

Header 参数

返回响应

🟢200成功
application/json
Bodyapplication/json

示例
{
    "code": 200,
    "msg": "成功",
    "total": 0,
    "data": [
        {
            "id": "1980084539766648834",
            "lockNumber": "Z-LOCK",
            "lockSn": "292E593B0E66",
            "lockUsername": "Z-4000DF",
            "lockStatus": "01",
            "userId": "1994295702918381570",
            "userType": "手机端超级管理员",
            "unlockType": null,
            "roomStatus": null,
            "electricity": "25",
            "featureCodes": "遥控,卡片,密码,指纹",
            "doubleVerify": "1873",
            "evUpdateTime": null,
            "mac": "01:01:11:40:00:DF",
            "virtuallyId": null,
            "timesTamp": "694B5BF9",
            "pwAdmin": "31080904",
            "newPwAdmin": null,
            "electricalVoltage": "04",
            "lockoutTime": "0F",
            "lockLanguage": "E1",
            "pickProof": "17",
            "lockSysTime": "1766451628561",
            "lockMode": "01",
            "isAlwaysOpen": "0",
            "isLocked": "0",
            "connectStatus": "1E",
            "electronLock": "22",
            "doorDirection": null,
            "rearDoorContact": null,
            "lockBodySettings": null,
            "torqueSetting": null,
            "lockbackTime": null,
            "staySettings": null,
            "radarSettings": null,
            "lockoutTimeNew": null,
            "serverKeys": "5214744968050256",
            "lockKeys": "AD193DF8A5A233B2",
            "boundGateway": null,
            "lockOnlineStatus": "1",
            "statusFlags": null,
            "createTime": "2025-10-20 09:31:57",
            "updateTime": "2025-12-24 14:38:16",
            "delFlag": "0",
            "currentVersion": null,
            "latestVersion": null,
            "agreementType": "07",
            "timeZone": null,
            "moduleAlly": "0",
            "lockOpen": null,
            "lockImsi": null,
            "lockImei": null
        },
        {
            "id": "1983007722421387266",
            "lockNumber": "Z-LOCK",
            "lockSn": "26B370EAADFC",
            "lockUsername": "Z-4000DC",
            "lockStatus": "01",
            "userId": "1994295702918381570",
            "userType": "手机端超级管理员",
            "unlockType": null,
            "roomStatus": null,
            "electricity": "25",
            "featureCodes": "遥控,卡片,密码,指纹",
            "doubleVerify": "5911",
            "evUpdateTime": null,
            "mac": "01:01:11:40:00:DC",
            "virtuallyId": null,
            "timesTamp": "694B911F",
            "pwAdmin": "28087860",
            "newPwAdmin": null,
            "electricalVoltage": "05",
            "lockoutTime": "0F",
            "lockLanguage": "E1",
            "pickProof": "17",
            "lockSysTime": "1766450656624",
            "lockMode": "01",
            "isAlwaysOpen": "0",
            "isLocked": "0",
            "connectStatus": "1E",
            "electronLock": "22",
            "doorDirection": "3001",
            "rearDoorContact": "3102",
            "lockBodySettings": "3201",
            "torqueSetting": "3301",
            "lockbackTime": "3401",
            "staySettings": "3501",
            "radarSettings": "3601",
            "lockoutTimeNew": "37FFFF",
            "serverKeys": "9619639132137782",
            "lockKeys": "69142A20FFB44666",
            "boundGateway": null,
            "lockOnlineStatus": "0",
            "statusFlags": null,
            "createTime": "2025-10-28 11:07:38",
            "updateTime": "2025-12-24 16:33:35",
            "delFlag": "0",
            "currentVersion": null,
            "latestVersion": null,
            "agreementType": "08",
            "timeZone": null,
            "moduleAlly": "0",
            "lockOpen": null,
            "lockImsi": null,
            "lockImei": null
        }
    ],
    "success": true
}
上一页
Register
下一页
Query the current lock details information
Built with