- discard(废弃)
- demo(模板-参考示例)
- usmile-wx(微信)
- uc(用户统一中心)
- user-web(健康&设备&我的)
- bff-cloud
- iot-sevice(IOT平台)
- cloud-admin(运营后台)
更新result数据中的status字段(模式导入设备状态)
POST
https://test.myusmile.online/user/scale/updateResultStatus
请求参数
Header 参数
TOK
string
可选
默认值:
{{token}}
Body 参数application/json
id
integer
result id
status
integer
导入设备状态
示例
{
"id": 26,
"status": 1
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test.myusmile.online/user/scale/updateResultStatus' \
--header 'TOK: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 26,
"status": 1
}'
返回响应
🟢200成功
application/json
Body
flag
boolean
必需
code
integer
必需
message
null
必需
data
null
必需
desc
null
必需
示例
{
"flag": true,
"code": 0,
"message": null,
"data": null,
"desc": null
}