GET api/WxVotePlayer/GetActivityPlayerRanking?activityId={activityId}&insideCategoryId={insideCategoryId}

获取活动选手排行

Request Information

URI Parameters

NameDescriptionTypeAdditional information
activityId

活动标识

integer

Required

insideCategoryId

内部分组标识

integer

Default value is -1

Body Parameters

None.

Response Information

Resource Description

获取活动选手排行

Collection of WxVote_PlayerRankingEntity
NameDescriptionTypeAdditional information
Id

选手标识

integer

None.

Name

选手姓名

string

None.

SerialNum

选手编号

string

None.

CoverPic

选手封面

string

None.

ActivityId

活动标识

integer

None.

InsideGroupCategoryId

内部活动分组

integer

None.

TotalVoteNum

全部选票

integer

None.

CurrentRanking

当前排名

integer

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<ArrayOfWxVote_PlayerRankingEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.WxVote.Service.Model.ModelAggregation">
  <WxVote_PlayerRankingEntity>
    <ActivityId>5</ActivityId>
    <CoverPic>sample string 4</CoverPic>
    <CurrentRanking>8</CurrentRanking>
    <Id>1</Id>
    <InsideGroupCategoryId>6</InsideGroupCategoryId>
    <Name>sample string 2</Name>
    <SerialNum>sample string 3</SerialNum>
    <TotalVoteNum>7</TotalVoteNum>
  </WxVote_PlayerRankingEntity>
  <WxVote_PlayerRankingEntity>
    <ActivityId>5</ActivityId>
    <CoverPic>sample string 4</CoverPic>
    <CurrentRanking>8</CurrentRanking>
    <Id>1</Id>
    <InsideGroupCategoryId>6</InsideGroupCategoryId>
    <Name>sample string 2</Name>
    <SerialNum>sample string 3</SerialNum>
    <TotalVoteNum>7</TotalVoteNum>
  </WxVote_PlayerRankingEntity>
</ArrayOfWxVote_PlayerRankingEntity>