Health API (Beta)
Device list
 | ||
---|---|---|
Device category | Device name | Device type |
Pulse, Oximeter |
|
|
 |  | |
 |  | |
Scale |
|
|
 |  | |
 |  | |
Active Minutes, Steps |
|
|
|
| |
 |  | |
 |  | |
Blood Pressure |
|
|
 |  | |
Glucose Meters |
|
|
 |  | |
 |  | |
Thermometer |
|
|
 |  | |
 |  |
Data classifications
Data | Data Class | Data Type | Unit | Unit value | Type | Range | |
---|---|---|---|---|---|---|---|
1 | Temperature |
|
|
|
|
| Â |
2 | Blood Glucose |
|
|
|
| Â | Â |
3 | Blood Pressure |
|
|
|
|
| Â |
4 | Weight |
|
|
|
|
| Â |
5 | Active Minutes |
|
| Â | Â |
| Â |
6 | Steps |
|
| Â | Â |
| Â |
7 | Pulse |
|
| Â | Â |
| Â |
8 | Blood Oxygen |
|
| Â | Â |
| Â |
9 | Illuminance |
|
|
|
| Â | Â |
10 | Humidity |
|
|
|
| Â | Â |
11 | Gas |
|
| Â | Â | Â | Â |
12 | Movement |
|
|
|
|
|
|
13 | Noise |
|
|
|
|
|
|
14 | Range |
|
|
|
|
|
|
APIs
POST /users/{user_id}/devices
Device registration
Parameters
Parameter | Type | Description |
---|---|---|
|
| Â |
|
| Â |
|
| Â |
|
| Device unique ID |
|
| Device name (in device table) |
|
| Device type (in device table) |
E.g.
request: POST https://api.vseepreview.com/vc/stable/api_v3/users/905/devices
headers: {
"X-AccountCode": "vclinic",
"X-ApiKey": "vclinic_api_secret",
"X-ApiToken": "vclinic_api_token"
}
parameters: {
"device_id": "004D320DCAA2",
"device_name": "Thermometer PT3SBT",
"type": "ihealth_thermometer_pt3sbt"
}
Â
POST /api_v3/health
Parameters
Parameter | Type | Description |
---|---|---|
|
| Â |
|
| Â |
|
| Â |
|
| Device type (in device table) |
|
| Recorded date (yyyy-mm-dd) |
|
| Unix timestamp |
|
| Device unique ID |
|
| Data type (in data table) |
|
| Â |
Data Value |
| Data type = value |
Data Unit |
| Data unit = unit value |
E.g.
request: POST https://api.vseepreview.com/vc/stable/api_v3/health
headers: {
"X-AccountCode": "vclinic",
"X-ApiKey": "vclinic_api_key",
"X-ApiToken": "vclinic_api_token"
}
parameters: {
"type": "ihealth_thermometer_pt3sbt",
"date": "2021-08-25",
"time": 1695626540,
"device_id": "004D320DCAA2",
"data_type": "temperature_body",
"data_class": "body",
"temperature_body": "36.76",
"temperature_unit": "cel"
}
parameters for blood glucose
"data_type": "bg",
"bg": 100,
"bg_unit": "mg/dL"
parameters for blood pressure
parameters for weight
parameters for active minutes & steps
parameters for pulse & blood oxygen