POST api/Health/GetHealthForDay

The sum of the number of steps in a given day [watch]

Request Information

Body Parameters

GetHealthForDayModel
NameDescriptionTypeAdditional information
Imei

Device imei

string

None.

Date

date

date

None.

TimeOffset

The time zone difference between UTC0 and UTC0

decimal number

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:
{
  "Imei": "sample string 1",
  "Date": "2018-12-19T05:36:37.3821094+08:00",
  "TimeOffset": 3.1,
  "Token": "sample string 4",
  "Language": "sample string 5",
  "AppId": "sample string 6"
}

application/xml, text/xml

Sample:
<GetHealthForDayModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel">
  <AppId>sample string 6</AppId>
  <Language>sample string 5</Language>
  <Token>sample string 4</Token>
  <Date>2018-12-19T05:36:37.3821094+08:00</Date>
  <Imei>sample string 1</Imei>
  <TimeOffset>3.1</TimeOffset>
</GetHealthForDayModel>

Response Information

Resource Description

Statestatus code
0. Indicates success

GetHealthForDayResult
NameDescriptionTypeAdditional information
StepsCount

The total number of steps

integer

None.

State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "StepsCount": 1,
  "State": 2
}

application/xml, text/xml

Sample:
<GetHealthForDayResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>2</State>
  <StepsCount>1</StepsCount>
</GetHealthForDayResult>