POST api/v1/topicv1/GetRankingsList
Request Information
URI Parameters
None.
Body Parameters
RankingsListParam| Name | Description | Type | Additional information |
|---|---|---|---|
| TopicId | integer |
None. |
|
| GetNumber | integer |
None. |
|
| Direction | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"TopicId": 1,
"GetNumber": 2,
"Direction": 3
}
application/xml, text/xml
Sample:
<RankingsListParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AIT.AppApi.Models.v1.Params.Info"> <Direction>3</Direction> <GetNumber>2</GetNumber> <TopicId>1</TopicId> </RankingsListParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of RankingsListDto| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
None. |
|
| Login | integer |
None. |
|
| Avatar | string |
None. |
|
| NickName | string |
None. |
|
| GuessAmount | decimal number |
None. |
Response Formats
application/json
Sample:
Sample not available.
application/xml
Sample:
<ArrayOfRankingsListDto xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RankingsListDto>
<UserId>1</UserId>
<Login>2</Login>
<Avatar>sample string 3</Avatar>
<NickName>sample string 4</NickName>
<GuessAmount>5</GuessAmount>
</RankingsListDto>
<RankingsListDto>
<UserId>1</UserId>
<Login>2</Login>
<Avatar>sample string 3</Avatar>
<NickName>sample string 4</NickName>
<GuessAmount>5</GuessAmount>
</RankingsListDto>
</ArrayOfRankingsListDto>
text/json
Sample:
[
{
"UserId": 1,
"Login": 2,
"Avatar": "sample string 3",
"NickName": "sample string 4",
"GuessAmount": 5.0
},
{
"UserId": 1,
"Login": 2,
"Avatar": "sample string 3",
"NickName": "sample string 4",
"GuessAmount": 5.0
}
]
text/xml
Sample:
<ArrayOfRankingsListDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Smart.Domain.Dto.Activity.Odd">
<RankingsListDto>
<Avatar>sample string 3</Avatar>
<GuessAmount>5</GuessAmount>
<Login>2</Login>
<NickName>sample string 4</NickName>
<UserId>1</UserId>
</RankingsListDto>
<RankingsListDto>
<Avatar>sample string 3</Avatar>
<GuessAmount>5</GuessAmount>
<Login>2</Login>
<NickName>sample string 4</NickName>
<UserId>1</UserId>
</RankingsListDto>
</ArrayOfRankingsListDto>