POST api/Health/StepRankingList
步数排行榜 [手环]
Request Information
Body Parameters
StepRankingListModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Date |
要查询的日期 |
date |
None. |
| Skip |
不取前多少条 |
integer |
None. |
| Take |
最多去多少条 |
integer |
None. |
| UserId |
用户Id |
integer |
None. |
| Token |
登录后获取到的 Token |
string |
None. |
| Language |
语言选项 |
string |
None. |
| AppId |
APP应用标识 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Date": "2025-12-12T05:28:45.5617419+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>2025-12-12T05:28:45.5617419+08:00</Date> <Skip>2</Skip> <Take>3</Take> <UserId>4</UserId> </StepRankingListModel>
Response Information
Resource Description
State说明
0. 表示成功
| Name | Description | Type | Additional information |
|---|---|---|---|
| Items | Collection of UserStepRankingList |
None. |
|
| TodaySteps |
今日步数 |
integer |
None. |
| TodayUpgrade |
今日名次提升 |
integer |
None. |
| TodayUpgradeParcent |
今日名次提升率 |
decimal number |
None. |
| TodayR |
今日排名 |
integer |
None. |
| State |
状态码 |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Items": [
{
"UserId": 1,
"Steps": 2,
"UpdateTime": "2025-12-12T05:28:45.5666249+08:00",
"Date": "2025-12-12T05:28:45.5666249+08:00",
"R": 5,
"AvatorUrl": "sample string 6",
"UserName": "sample string 7"
},
{
"UserId": 1,
"Steps": 2,
"UpdateTime": "2025-12-12T05:28:45.5666249+08:00",
"Date": "2025-12-12T05:28:45.5666249+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>2025-12-12T05:28:45.5666249+08:00</d2p1:Date>
<d2p1:R>5</d2p1:R>
<d2p1:Steps>2</d2p1:Steps>
<d2p1:UpdateTime>2025-12-12T05:28:45.5666249+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>2025-12-12T05:28:45.5666249+08:00</d2p1:Date>
<d2p1:R>5</d2p1:R>
<d2p1:Steps>2</d2p1:Steps>
<d2p1:UpdateTime>2025-12-12T05:28:45.5666249+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>