GET api/HealthyData/GetHealthy_ByMonth?UserID={UserID}&DataDesc={DataDesc}&Month={Month}
获取用户数据(日统计数据)
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID |
用户ID |
string |
Required |
| DataDesc |
数据描述,可以为BloodSugar、BloodOxygen、Pulse、Hemoglobin、BloodFat,BloodPressure血压数据不可用 |
string |
Required |
| Month |
月份,时间格式为"2018-04" |
date |
Required |
Body Parameters
None.
Response Information
Resource Description
JResultOfListOfHealthDataByMonth| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | integer |
None. |
|
| Error | string |
None. |
|
| Result | Collection of HealthDataByMonth |
None. |
|
| Success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 1,
"Error": "sample string 2",
"Result": [
{
"AVG": 1.1,
"Date": "2026-04-30T18:55:43.6617649+08:00"
},
{
"AVG": 1.1,
"Date": "2026-04-30T18:55:43.6617649+08:00"
}
],
"Success": true
}