POST api/Health/StepRankingList

Step table [bracelet]

Request Information

Body Parameters

StepRankingListModel
NameDescriptionTypeAdditional information
Date

The date to query

date

None.

Skip

Don't take before many article

integer

None.

Take

The maximum delete how many articles

integer

None.

UserId

user 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:
{
  "Date": "2018-12-16T02:25:13.847289+08:00",
  "Skip": 2,
  "Take": 3,
  "UserId": 4,
  "Token": "sample string 5",
  "Language": "sample string 6",
  "AppId": "sample string 7"
}

application/xml, text/xml

Sample:
<StepRankingListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel">
  <AppId>sample string 7</AppId>
  <Language>sample string 6</Language>
  <Token>sample string 5</Token>
  <Date>2018-12-16T02:25:13.847289+08:00</Date>
  <Skip>2</Skip>
  <Take>3</Take>
  <UserId>4</UserId>
</StepRankingListModel>

Response Information

Resource Description

Stateillustrate
0. Indicates success

StepRankingListResult
NameDescriptionTypeAdditional information
Items

Collection of UserStepRankingList

None.

TodaySteps

Today's step number

integer

None.

TodayUpgrade

Upgrade today

integer

None.

TodayUpgradeParcent

The promotion rate today

decimal number

None.

TodayR

Today's ranking

integer

None.

State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "UserId": 1,
      "Steps": 2,
      "UpdateTime": "2018-12-16T02:25:13.8531484+08:00",
      "Date": "2018-12-16T02:25:13.8531484+08:00",
      "R": 5,
      "AvatorUrl": "sample string 6",
      "UserName": "sample string 7"
    },
    {
      "UserId": 1,
      "Steps": 2,
      "UpdateTime": "2018-12-16T02:25:13.8531484+08:00",
      "Date": "2018-12-16T02:25:13.8531484+08:00",
      "R": 5,
      "AvatorUrl": "sample string 6",
      "UserName": "sample string 7"
    }
  ],
  "TodaySteps": 1,
  "TodayUpgrade": 2,
  "TodayUpgradeParcent": 3.1,
  "TodayR": 4,
  "State": 5
}

application/xml, text/xml

Sample:
<StepRankingListResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>5</State>
  <Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/NewGPS2012.Entity.Entity">
    <d2p1:UserStepRankingList>
      <d2p1:AvatorUrl>sample string 6</d2p1:AvatorUrl>
      <d2p1:Date>2018-12-16T02:25:13.8531484+08:00</d2p1:Date>
      <d2p1:R>5</d2p1:R>
      <d2p1:Steps>2</d2p1:Steps>
      <d2p1:UpdateTime>2018-12-16T02:25:13.8531484+08:00</d2p1:UpdateTime>
      <d2p1:UserId>1</d2p1:UserId>
      <d2p1:UserName>sample string 7</d2p1:UserName>
    </d2p1:UserStepRankingList>
    <d2p1:UserStepRankingList>
      <d2p1:AvatorUrl>sample string 6</d2p1:AvatorUrl>
      <d2p1:Date>2018-12-16T02:25:13.8531484+08:00</d2p1:Date>
      <d2p1:R>5</d2p1:R>
      <d2p1:Steps>2</d2p1:Steps>
      <d2p1:UpdateTime>2018-12-16T02:25:13.8531484+08:00</d2p1:UpdateTime>
      <d2p1:UserId>1</d2p1:UserId>
      <d2p1:UserName>sample string 7</d2p1:UserName>
    </d2p1:UserStepRankingList>
  </Items>
  <TodayR>4</TodayR>
  <TodaySteps>1</TodaySteps>
  <TodayUpgrade>2</TodayUpgrade>
  <TodayUpgradeParcent>3.1</TodayUpgradeParcent>
</StepRankingListResult>