POST api/Health/GetHealthInfoConfig

Get the setup health configuration

Request Information

Body Parameters

HealthInfoConfigModel
NameDescriptionTypeAdditional information
HealInfo

Health information object

HealthInfoConfig

None.

DeviceId

device id

integer

None.

Token

Get it after logging in Token

string

None.

Language

Language Option

string

None.

AppId

APP Application Identifier

string

None.

Request Formats

application/json, text/json

Sample:
{
  "HealInfo": {
    "MaxBlood": 1,
    "MinBlood": 2,
    "MaxBloodTwo": 3,
    "MinBloodTwo": 4,
    "MaxHeartRate": 5,
    "MinHeartRate": 6,
    "DeviceId": 7
  },
  "DeviceId": 1,
  "Token": "sample string 2",
  "Language": "sample string 3",
  "AppId": "sample string 4"
}

application/xml, text/xml

Sample:
<HealthInfoConfigModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel">
  <AppId>sample string 4</AppId>
  <Language>sample string 3</Language>
  <Token>sample string 2</Token>
  <DeviceId>1</DeviceId>
  <HealInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/NewGPS2012.Entity.Entity">
    <d2p1:DeviceId>7</d2p1:DeviceId>
    <d2p1:MaxBlood>1</d2p1:MaxBlood>
    <d2p1:MaxBloodTwo>3</d2p1:MaxBloodTwo>
    <d2p1:MaxHeartRate>5</d2p1:MaxHeartRate>
    <d2p1:MinBlood>2</d2p1:MinBlood>
    <d2p1:MinBloodTwo>4</d2p1:MinBloodTwo>
    <d2p1:MinHeartRate>6</d2p1:MinHeartRate>
  </HealInfo>
</HealthInfoConfigModel>

Response Information

Resource Description

HealthInfoConfigResult
NameDescriptionTypeAdditional information
HealInfo

Health information

HealthInfoConfig

None.

State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "HealInfo": {
    "MaxBlood": 1,
    "MinBlood": 2,
    "MaxBloodTwo": 3,
    "MinBloodTwo": 4,
    "MaxHeartRate": 5,
    "MinHeartRate": 6,
    "DeviceId": 7
  },
  "State": 1
}

application/xml, text/xml

Sample:
<HealthInfoConfigResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>1</State>
  <HealInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/NewGPS2012.Entity.Entity">
    <d2p1:DeviceId>7</d2p1:DeviceId>
    <d2p1:MaxBlood>1</d2p1:MaxBlood>
    <d2p1:MaxBloodTwo>3</d2p1:MaxBloodTwo>
    <d2p1:MaxHeartRate>5</d2p1:MaxHeartRate>
    <d2p1:MinBlood>2</d2p1:MinBlood>
    <d2p1:MinBloodTwo>4</d2p1:MinBloodTwo>
    <d2p1:MinHeartRate>6</d2p1:MinHeartRate>
  </HealInfo>
</HealthInfoConfigResult>