WiFi scale server
  1. Interaction Interfaces Between Torre 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 Torre Devices and the Server

Upload Smart Scale Data

POST
/lefu/wifi/torre/record

Request

Body Params application/json

Example
{
    "bat": "0.32",
    "list": [
        {
            "data": [
                {
                    "impedance": "920589"
                },
                {
                    "impedance": "1362155467"
                },
                {
                    "impedance": "545131847"
                },
                {
                    "impedance": "1349479251"
                },
                {
                    "impedance": "14200493"
                },
                {
                    "impedance": "1075847155"
                },
                {
                    "impedance": "837069015"
                },
                {
                    "impedance": "1088164826"
                },
                {
                    "impedance": "569400741"
                },
                {
                    "impedance": "537580203"
                }
            ],
            "heartRate": 81,
            "memberid": "9216776f-2a35-4ca1-8427-668087a47ed8",
            "timestamp": 1730893791,
            "userid": "d0f404d2-4db8-4302-b95b-1e7267c330a7",
            "weight": 69.3
        }
    ],
    "mac": "CF:E8:05:08:13:BA",
    "scaleType": 5,
    "sn": "CFE8050813BA",
    "type": "LEFU-CF577"
}

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/torre/record' \
--header 'Content-Type: application/json' \
--data-raw '{
    "bat": "0.32",
    "list": [
        {
            "data": [
                {
                    "impedance": "920589"
                },
                {
                    "impedance": "1362155467"
                },
                {
                    "impedance": "545131847"
                },
                {
                    "impedance": "1349479251"
                },
                {
                    "impedance": "14200493"
                },
                {
                    "impedance": "1075847155"
                },
                {
                    "impedance": "837069015"
                },
                {
                    "impedance": "1088164826"
                },
                {
                    "impedance": "569400741"
                },
                {
                    "impedance": "537580203"
                }
            ],
            "heartRate": 81,
            "memberid": "9216776f-2a35-4ca1-8427-668087a47ed8",
            "timestamp": 1730893791,
            "userid": "d0f404d2-4db8-4302-b95b-1e7267c330a7",
            "weight": 69.3
        }
    ],
    "mac": "CF:E8:05:08:13:BA",
    "scaleType": 5,
    "sn": "CFE8050813BA",
    "type": "LEFU-CF577"
}'

Responses

🟢200Success
application/json
Body

Examples
{
    "code": 200,
    "errorCode": 0,
    "text": "success"
}
Previous
Get Update Firmware Version Information
Next
设备配置同步
Built with