GET api/devicelist/get_health

获取个人设备的计步,心率等信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
AccessToken

Token

string

None.

Imel

imel

string

None.

Response Information

Resource Description

PersonInfoResult
NameDescriptionTypeAdditional information
DeviceId

设备编码

integer

None.

SerialNumber

IMEI

string

None.

Step

步数

integer

None.

BodyTtemperature

decimal number

None.

Distance

距离 不能用小数类型返回 ios会出现精度丢失出现很多00000或者9999的情况

string

None.

Energy

卡里路 不能用小数类型返回 ios会出现精度丢失出现很多00000或者9999的情况

string

None.

HeartRate

心率

integer

None.

BloodMax

血压最大值

integer

None.

BloodMin

血压最低值

integer

None.

SleepAll

睡眠

decimal number

None.

DeepSleep

深睡眠

decimal number

None.

LightSleep

浅睡眠

decimal number

None.

Note

闹钟提醒

string

None.

LastUpdateTime

数据更新时间

string

None.

HealthBloodTime

血压时间

string

None.

HealthHeartTime

心率时间

string

None.

Message

提示信息

string

None.

State

状态码

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "DeviceId": 1,
  "SerialNumber": "sample string 2",
  "Step": 3,
  "BodyTtemperature": 4.0,
  "Distance": "sample string 5",
  "Energy": "sample string 6",
  "HeartRate": 7,
  "BloodMax": 8,
  "BloodMin": 9,
  "SleepAll": 10.1,
  "DeepSleep": 11.1,
  "LightSleep": 12.1,
  "Note": "sample string 13",
  "LastUpdateTime": "sample string 14",
  "HealthBloodTime": "sample string 15",
  "HealthHeartTime": "sample string 16",
  "Message": "sample string 17",
  "State": 18
}

application/xml, text/xml

Sample:
<PersonInfoResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>18</State>
  <Message>sample string 17</Message>
  <BloodMax>8</BloodMax>
  <BloodMin>9</BloodMin>
  <BodyTtemperature>4</BodyTtemperature>
  <DeepSleep>11.1</DeepSleep>
  <DeviceId>1</DeviceId>
  <Distance>sample string 5</Distance>
  <Energy>sample string 6</Energy>
  <HealthBloodTime>sample string 15</HealthBloodTime>
  <HealthHeartTime>sample string 16</HealthHeartTime>
  <HeartRate>7</HeartRate>
  <LastUpdateTime>sample string 14</LastUpdateTime>
  <LightSleep>12.1</LightSleep>
  <Note>sample string 13</Note>
  <SerialNumber>sample string 2</SerialNumber>
  <SleepAll>10.1</SleepAll>
  <Step>3</Step>
</PersonInfoResult>