1. Card issuing machine related interfaces
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)
    • Door Lock Binding (Dlock)
    • Add Lock Use
    • Modify Lock User
    • Delete Lock User
    • Read Door Lock Settings
    • Initialize Door Lock
    • Sync Door Lock Users
    • Sync Door Lock Operation Records
    • Get Lock Report Command Operations
    • Issue Door Lock Settings
    • Issue 4G Module Association
    • Issue Door Lock Operations
  • 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
      POST
    • Method 2 for Binding the Card Issuing Machine
      POST
    • Delete card issuer
      POST
    • Delete online card
      POST
    • Create an online card to door lock device
      POST
    • Create an offline card for the hotel apartment
      POST
    • Online Card Save
      POST
    • Issue command to start collecting fingerprint data
      POST
    • Issue the command to stop collecting fingerprint data
      POST
    • Unbind card issuing machine
      POST
    • Synchronize and send fingerprint data to the door lock device
      POST
    • Query all card information based on the cardholder
      POST
  • 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. Card issuing machine related interfaces

Create an offline card for the hotel apartment

开发中
POST
/cardDispenser/pushCardDispenser
Packet Data (Total 48 bytes, pad with 0xFF if insufficient)
Basic Information Segment: Concatenate in order: "1 byte dealer card, 2 bytes hotel project card"; "1 byte building card, 1 byte floor card, 1 byte room card", default value is 0xFF for all.
Identification and Password Segment: 1 byte fixed identifier 0x09, followed by 3 bytes system password and 3 bytes administrator (room) password.
Door Control Segment: Concatenate successively:
1 byte door opening type: (00 Guest Card / 01 Cleaning Card / 02 Maintenance Card / 03 Master Key Card / 04 Single Floor Card / 05 Single Building Card)
1 byte door opening permission: bit0 deadbolt position [0 cannot open deadbolt (default), 1 can open deadbolt], bit1 always open position [0 normal mode (default), 1 always open]
8 bytes door opening validity period: 4 bytes start timestamp, 4 bytes end timestamp (hexadecimal timestamp, seconds) [Note: Only used to control the "valid date range", not for specific time period control.]
4 bytes door opening period 1, 4 bytes door opening period 2 (at least add one period; if the second period is not added, default is 0xFF)
1 byte door opening cycle: bits indicate valid days of the week (0 invalid, 1 valid); bit0 indicates whether there is a cycle (0 no cycle, 1 with cycle). Example: authorize Monday and Wednesday, binary is 00001011, converted to 0b.
2 bytes unlock ID: (generated by the backend, used for door opening record push)
Important Note: Clearing offline cards also uses this interface. When deviceState passes ff, the card information will be cleared via the card issuing machine, turning the card into an empty card.

请求参数

Header 参数

Body 参数application/json必填

示例
{
    "deviceState": "01",
    "gatewayId": "010101010101",
    "info": "FFFFFF01166809903503059976000069E1078069E2590000000001FFFFFFFF00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF",
}

返回响应

🟢200成功
application/json
Bodyapplication/json

示例
{}
上一页
Create an online card to door lock device
下一页
Online Card Save
Built with