GET api/HealthyData/GetHealthy_ByAll?UserID={UserID}&DataDesc={DataDesc}

获取用户数据(年统计数据)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UserID

用户ID

string

Required

DataDesc

数据描述,可以为BloodSugar、BloodOxygen、Pulse、Hemoglobin、BloodFat,BloodPressure血压数据不可用

string

Required

Body Parameters

None.

Response Information

Resource Description

JResultOfListOfHealthDataByAll
NameDescriptionTypeAdditional information
Code

integer

None.

Error

string

None.

Result

Collection of HealthDataByAll

None.

Success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Error": "sample string 2",
  "Result": [
    {
      "AVG": 1.1,
      "Year": 2
    },
    {
      "AVG": 1.1,
      "Year": 2
    }
  ],
  "Success": true
}