curl --location --request GET 'https://open-test.api.ycinnovate.com/example/dify/user/hm/report/daily?user=1819700355062640643&date=2025-03-23&code=4'
{
"date": 0,
"userId": "string",
"min": 0,
"max": 0,
"avg": 0,
"restAvg": 0,
"restMax": 0,
"restMin": 0,
"records": [
{
"time": 0,
"value": 0
}
],
"phase": {
"property1": {
"timePeriods": [
{
"start": 0,
"end": 0
}
],
"avg": 0,
"max": 0,
"min": 0
},
"property2": {
"timePeriods": [
{
"start": 0,
"end": 0
}
],
"avg": 0,
"max": 0,
"min": 0
}
},
"sportPhase": {
"timePeriods": [
{
"start": 0,
"end": 0
}
],
"avg": 0,
"max": 0,
"min": 0
},
"sleepPhase": {
"timePeriods": [
{
"start": 0,
"end": 0
}
],
"avg": 0,
"max": 0,
"min": 0
},
"startTime": 0,
"endTime": 0,
"sleepDuration": 0,
"sleepGoal": {
"sleepDuration": true
},
"sleepStageStatistics": {
"deepSleep": {
"duration": 0,
"count": 0
},
"lightSleep": {
"duration": 0,
"count": 0
},
"rem": {
"duration": 0,
"count": 0
},
"wake": {
"duration": 0,
"count": 0
},
"nap": {
"duration": 0,
"count": 0
}
},
"sleepStageData": [
{
"sleepType": "string",
"stime": "string",
"sleepLong": "string"
}
],
"additionalData": {
"HeartRate": {
"avg": 0,
"max": 0,
"min": 0,
"row": [
{
"time": 0,
"value": 0
}
]
},
"BloodOxygen": {
"avg": 0,
"max": 0,
"min": 0,
"row": [
{
"time": 0,
"value": 0
}
]
},
"BreathingRate": {
"avg": 0,
"max": 0,
"min": 0,
"row": [
{
"time": 0,
"value": 0
}
]
},
"Hrv": {
"avg": 0,
"max": 0,
"min": 0,
"row": [
{
"time": 0,
"value": 0
}
]
}
}
}