- WEB模块
- App
- 第三方登录
- 数据
- 血压
- 血氧
- 血糖
- 血酮
- 心率
- 心电图
- 心率变异性
- 呼吸率
- 睡眠
- 运动
- 温度管理
- 血脂
- 尿酸
- 激光理疗
- 压力
- 摄氧量
- 用户注册信息填充POST
获取运动
POST
https://web-api.ycaviation.com/smartam/sportlist
暂无描述
请求参数
Header 参数
zone
string
时区
默认值:
+8
language
string
语言
默认值:
cn
Access-Token
string
访问token
默认值:
pUC1WvXTjcbyApb4bd8pgw==
User-Agent
string
定制App-UA
默认值:
1.3.18;10096;HealthWear;iOS 15.4.1;iPhone;0.01;watch;S25;
Body 参数application/x-www-form-urlencoded
userId
string
用户id
示例值:
1534862469350207488
示例代码
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://web-api.ycaviation.com/smartam/sportlist' \
--header 'zone: +8' \
--header 'language: cn' \
--header 'Access-Token: pUC1WvXTjcbyApb4bd8pgw==' \
--header 'User-Agent: 1.3.18;10096;HealthWear;iOS 15.4.1;iPhone;0.01;watch;S25;' \
--data-urlencode 'userId=1534862469350207488'
返回响应
🟢200成功
application/json
Body
code
integer
必需
data
array [object {9}]
必需
begindate
string
必需
cakl
integer
必需
des
integer
必需
enddate
string
必需
hour
integer
必需
id
integer
必需
mlist
string
必需
step
integer
必需
userId
string
必需
message
string
必需
示例
{
"code":0,
"data":[
{
"begindate":"2022-06-10 15:30:00",
"cakl":42,
"des":572,
"enddate":"2022-06-10 16:00:00",
"hour":7,
"id":50863,
"mlist":"[{\"cakl\":42,\"begindate\":1654817400000,\"des\":572,\"enddate\":1654819200000,\"hour\":7,\"step\":811},{\"cakl\":16,\"begindate\":1654815600000,\"des\":223,\"enddate\":1654817400000,\"hour\":7,\"step\":317},{\"cakl\":4,\"begindate\":1654824600000,\"des\":62,\"enddate\":1654826400000,\"hour\":9,\"step\":89},{\"cakl\":20,\"begindate\":1654822800000,\"des\":268,\"enddate\":1654824600000,\"hour\":9,\"step\":381},{\"cakl\":12,\"begindate\":1654821000000,\"des\":161,\"enddate\":1654822800000,\"hour\":8,\"step\":229},{\"cakl\":23,\"begindate\":1654819200000,\"des\":309,\"enddate\":1654821000000,\"hour\":8,\"step\":438},{\"cakl\":5,\"begindate\":1654833600000,\"des\":71,\"enddate\":1654835400000,\"hour\":12,\"step\":101},{\"cakl\":27,\"begindate\":1654831800000,\"des\":367,\"enddate\":1654833600000,\"hour\":11,\"step\":521},{\"cakl\":13,\"begindate\":1654830000000,\"des\":174,\"enddate\":1654831800000,\"hour\":11,\"step\":247},{\"cakl\":10,\"begindate\":1654828200000,\"des\":139,\"enddate\":1654830000000,\"hour\":10,\"step\":198},{\"cakl\":1,\"begindate\":1654873200000,\"des\":14,\"enddate\":1654875000000,\"hour\":23,\"step\":20},{\"cakl\":1,\"begindate\":1654871400000,\"des\":20,\"enddate\":1654873200000,\"hour\":22,\"step\":29},{\"cakl\":41,\"begindate\":1654869600000,\"des\":552,\"enddate\":1654871400000,\"hour\":22,\"step\":779},{\"cakl\":0,\"begindate\":1654864200000,\"des\":11,\"enddate\":1654866000000,\"hour\":20,\"step\":16},{\"cakl\":25,\"begindate\":1654860600000,\"des\":335,\"enddate\":1654862400000,\"hour\":19,\"step\":475},{\"cakl\":46,\"begindate\":1654858800000,\"des\":612,\"enddate\":1654860600000,\"hour\":19,\"step\":868},{\"cakl\":26,\"begindate\":1654857000000,\"des\":357,\"enddate\":1654858800000,\"hour\":18,\"step\":507},{\"cakl\":50,\"begindate\":1654855200000,\"des\":669,\"enddate\":1654857000000,\"hour\":18,\"step\":946},{\"cakl\":11,\"begindate\":1654853400000,\"des\":154,\"enddate\":1654855200000,\"hour\":17,\"step\":219},{\"cakl\":13,\"begindate\":1654851600000,\"des\":186,\"enddate\":1654853400000,\"hour\":17,\"step\":264},{\"cakl\":11,\"begindate\":1654849800000,\"des\":148,\"enddate\":1654851600000,\"hour\":16,\"step\":210},{\"cakl\":3,\"begindate\":1654848000000,\"des\":51,\"enddate\":1654849800000,\"hour\":16,\"step\":73},{\"cakl\":4,\"begindate\":1654846200000,\"des\":56,\"enddate\":1654848000000,\"hour\":15,\"step\":80},{\"cakl\":9,\"begindate\":1654844400000,\"des\":131,\"enddate\":1654846200000,\"hour\":15,\"step\":186},{\"cakl\":17,\"begindate\":1654840800000,\"des\":234,\"enddate\":1654842600000,\"hour\":14,\"step\":332},{\"cakl\":0,\"begindate\":1654837200000,\"des\":8,\"enddate\":1654839000000,\"hour\":13,\"step\":12},{\"cakl\":8,\"begindate\":1654835400000,\"des\":119,\"enddate\":1654837200000,\"hour\":12,\"step\":169}]",
"step":811,
"userId":"1534862469350207488"
},
{
"begindate":"2022-06-11 16:00:00",
"cakl":112,
"des":1498,
"enddate":"2022-06-11 16:30:00",
"hour":8,
"id":51005,
"mlist":"[{\"cakl\":112,\"begindate\":1654905600000,\"des\":1498,\"enddate\":1654907400000,\"hour\":8,\"step\":2120},{\"cakl\":39,\"begindate\":1654903800000,\"des\":527,\"enddate\":1654905600000,\"hour\":7,\"step\":748},{\"cakl\":45,\"begindate\":1654902000000,\"des\":618,\"enddate\":1654903800000,\"hour\":7,\"step\":847},{\"cakl\":39,\"begindate\":1654900200000,\"des\":519,\"enddate\":1654902000000,\"hour\":6,\"step\":737},{\"cakl\":15,\"begindate\":1654927200000,\"des\":201,\"enddate\":1654929000000,\"hour\":14,\"step\":286},{\"cakl\":17,\"begindate\":1654925400000,\"des\":232,\"enddate\":1654927200000,\"hour\":13,\"step\":330},{\"cakl\":10,\"begindate\":1654923600000,\"des\":138,\"enddate\":1654925400000,\"hour\":13,\"step\":196},{\"cakl\":3,\"begindate\":1654921800000,\"des\":50,\"enddate\":1654923600000,\"hour\":12,\"step\":72},{\"cakl\":35,\"begindate\":1654920000000,\"des\":472,\"enddate\":1654921800000,\"hour\":12,\"step\":670},{\"cakl\":45,\"begindate\":1654918200000,\"des\":603,\"enddate\":1654920000000,\"hour\":11,\"step\":856},{\"cakl\":16,\"begindate\":1654916400000,\"des\":224,\"enddate\":1654918200000,\"hour\":11,\"step\":318},{\"cakl\":23,\"begindate\":1654914600000,\"des\":309,\"enddate\":1654916400000,\"hour\":10,\"step\":439},{\"cakl\":8,\"begindate\":1654911000000,\"des\":117,\"enddate\":1654912800000,\"hour\":9,\"step\":166},{\"cakl\":53,\"begindate\":1654909200000,\"des\":708,\"enddate\":1654911000000,\"hour\":9,\"step\":1003},{\"cakl\":50,\"begindate\":1654907400000,\"des\":700,\"enddate\":1654909200000,\"hour\":8,\"step\":936},{\"cakl\":1,\"begindate\":1654961400000,\"des\":19,\"enddate\":1654963200000,\"hour\":23,\"step\":27},{\"cakl\":0,\"begindate\":1654948800000,\"des\":10,\"enddate\":1654950600000,\"hour\":20,\"step\":15},{\"cakl\":28,\"begindate\":1654945200000,\"des\":382,\"enddate\":1654947000000,\"hour\":19,\"step\":543},{\"cakl\":12,\"begindate\":1654943400000,\"des\":170,\"enddate\":1654945200000,\"hour\":18,\"step\":242},{\"cakl\":27,\"begindate\":1654941600000,\"des\":364,\"enddate\":1654943400000,\"hour\":18,\"step\":516},{\"cakl\":2,\"begindate\":1654939800000,\"des\":28,\"enddate\":1654941600000,\"hour\":17,\"step\":40},{\"cakl\":0,\"begindate\":1654938000000,\"des\":8,\"enddate\":1654939800000,\"hour\":17,\"step\":12},{\"cakl\":6,\"begindate\":1654936200000,\"des\":84,\"enddate\":1654938000000,\"hour\":16,\"step\":120},{\"cakl\":8,\"begindate\":1654934400000,\"des\":116,\"enddate\":1654936200000,\"hour\":16,\"step\":165},{\"cakl\":13,\"begindate\":1654932600000,\"des\":181,\"enddate\":1654934400000,\"hour\":15,\"step\":251},{\"cakl\":14,\"begindate\":1654930800000,\"des\":196,\"enddate\":1654932600000,\"hour\":15,\"step\":278}]",
"step":2120,
"userId":"1534862469350207488"
}
],
"message":"OK"
}
🟢200错误
修改于 2023-10-10 06:51:28