POST api/Health/UserStepRankingInfo

User ranking information [bracelet]

Request Information

Body Parameters

UserStepRankingInfoModel
NameDescriptionTypeAdditional information
UserId

Login user id

integer

None.

Date

date

date

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:
{
  "UserId": 1,
  "Date": "2018-10-16T18:55:52.6884078+08:00",
  "Token": "sample string 3",
  "Language": "sample string 4",
  "AppId": "sample string 5"
}

application/xml, text/xml

Sample:
<UserStepRankingInfoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel">
  <AppId>sample string 5</AppId>
  <Language>sample string 4</Language>
  <Token>sample string 3</Token>
  <Date>2018-10-16T18:55:52.6884078+08:00</Date>
  <UserId>1</UserId>
</UserStepRankingInfoModel>

Response Information

Resource Description

Stateillustrate
0. Indicates success

UserStepRankingInfoResult
NameDescriptionTypeAdditional information
Steps

steps

integer

None.

Rank

rank

integer

None.

State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Steps": 1,
  "Rank": 2,
  "State": 3
}

application/xml, text/xml

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