WiFi scale server
  1. Interaction Interfaces Between V2.0/V3.0 Devices and the Server
WiFi scale server
  • Interaction Interfaces Between V2.0/V3.0 Devices and the Server
    • Device Registration and Network Configuration
      POST
    • Device Configuration Sync
      GET
    • Get Update Firmware Version Information
      POST
    • Upload Smart Scale Data
      POST
    • Batch Upload Smart Scale Data
      POST
    • Get Update Firmware Version Information-v2.0
      POST
  • Interaction Interfaces Between Torre Devices and the Server
    • Device Registration and Network Configuration
      POST
    • Device Configuration Sync
      POST
    • Get Update Firmware Version Information
      POST
    • Upload Smart Scale Data
      POST
  • 4G设备与服务器之间的交互接口
    • 设备配置同步
      POST
    • 上传智能秤数据
      POST
  1. Interaction Interfaces Between V2.0/V3.0 Devices and the Server

Batch Upload Smart Scale Data

POST
/lefu/wifi/batchRecord

Request

Body Params application/json

Example
{
    "sn": "LFCF516 XO5C8478C428849",
    "type": "CF516 X05",
    "mac": "CF:E7:07:05:D0:32",
    "charge": "0.35",
    "firmwareVersion": "1.0.0",
    "wifiVersion": "0.0.2",
    "data": [
        {
            "weight": "60.5",
            "impedance": "10000",
            "timestamp": "1599534596000",
            "heartRate": 75
        },
        {
            "weight": "60.5",
            "impedance": "10000",
            "timestamp": "1599534596000",
            "heartRate": 75
        }
    ]
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/lefu/wifi/batchRecord' \
--header 'Content-Type: application/json' \
--data-raw '{
    "sn": "LFCF516 XO5C8478C428849",
    "type": "CF516 X05",
    "mac": "CF:E7:07:05:D0:32",
    "charge": "0.35",
    "firmwareVersion": "1.0.0",
    "wifiVersion": "0.0.2",
    "data": [
        {
            "weight": "60.5",
            "impedance": "10000",
            "timestamp": "1599534596000",
            "heartRate": 75
        },
        {
            "weight": "60.5",
            "impedance": "10000",
            "timestamp": "1599534596000",
            "heartRate": 75
        }
    ]
}'

Responses

🟢200OK
*/*
Body

Example
{
    "errorCode": 0,
    "text": "success"
}
Previous
Upload Smart Scale Data
Next
Get Update Firmware Version Information-v2.0
Built with