Physical Metrics Calculation Library
  1. Body Fat Scale Body Data Parsing
Physical Metrics Calculation Library
  • Quick Start
  • Body Fat Scale Body Data Parsing
    • Err Error Codes
    • Get Temporary Token Based on AppKey
      POST
    • Alternating Current Four-Electrode Algorithm
      GET
    • Direct Current Four-Electrode Algorithm
      GET
    • Dual-frequency AC four-electrode
      GET
    • Alternating Current eight-electrode algorithm
      GET
  1. Body Fat Scale Body Data Parsing

Get Temporary Token Based on AppKey

POST
/openapi/user/refreshToken
开放平台用户系统
Please note: lefu49d9158e653459f2 This AppKey is for demonstration purposes only and has limited usage frequency. For actual business use, please register an account and obtain a valid AppKey.

Request

Body Params application/json
appKey
string 
optional
The appKey is obtained after registration. The key 'lefu49d9158e653459f2' is for experimental purposes only and has limited usage frequency. Please do not use it in actual business operations.
appSecret
string 
optional
appSecret
Example
{
    "appSecret": "YMEWS/CcgomjxqKWubSV+nlU+6qm582gDFOpc1JyiUk=",
    "appKey": "lefu49d9158e653459f2"
}

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 'https://uniquehealth.lefuenergy.com/openapi/user/refreshToken' \
--header 'Content-Type: application/json' \
--data-raw '{
    "appSecret": "YMEWS/CcgomjxqKWubSV+nlU+6qm582gDFOpc1JyiUk=",
    "appKey": "lefu49d9158e653459f2"
}'

Responses

🟢200OK
application/json
Body
code
integer <int32>
optional
data
object (OpenApiTokenVo) 
optional
appKey
string 
optional
appKey obtained from the open platform personal information
expireTime
integer <int64>
optional
Timestamp of token expiration time
Example:
1688373224
token
string 
optional
Generated token
errorCode
integer <int32> | null 
optional
msg
string 
optional
text
string  | null 
optional
Example
{
    "code": 0,
    "data": {
        "appKey": "string",
        "expireTime": 1688373224,
        "token": "string"
    },
    "errorCode": 0,
    "msg": "string",
    "text": "string"
}
🟠401没有权限
Previous
Err Error Codes
Next
Alternating Current Four-Electrode Algorithm
Built with