GET api/HealthyData/GetTopV_ByYear?UserID={UserID}&DataDesc={DataDesc}&Year={Year}
获取用户数据(年最高值,一年中某一天的最高值)
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID |
用户ID |
string |
Required |
| DataDesc |
数据描述,可以为BloodSugar、BloodOxygen、Pulse、Hemoglobin、BloodFat,BloodPressure血压数据不可用 |
string |
Required |
| Year |
日期,时间格式为"2018" |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
JResultOfTopDataByDay| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | integer |
None. |
|
| Error | string |
None. |
|
| Result | TopDataByDay |
None. |
|
| Success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 1,
"Error": "sample string 2",
"Result": {
"Max": 1.1,
"Date": "2026-04-30T18:57:11.6738237+08:00"
},
"Success": true
}