GET api/v{version}/ranking/{rankingId}/player/{playerId}

Get the latest position known in a ranking for a certain player

Request Information

URI Parameters

NameDescriptionTypeAdditional information
rankingId

integer

Required

playerId

integer

Required

version

string

None.

Body Parameters

None.

Response Information

Resource Description

PlayerRankingScoreViewModel
NameDescriptionTypeAdditional information
Ranking

string

None.

RankingId

integer

None.

RankingRunId

integer

None.

PositionData

PlayerRankingData

None.

ExecutedFor

date

None.

ExecutedOn

date

None.

Response Formats

application/json, text/json

Sample:
{
  "Ranking": "sample string 1",
  "RankingId": 1,
  "RankingRunId": 1,
  "PositionData": {
    "Position": 1,
    "Value": "sample string 2",
    "PlayerId": 3,
    "MemberId": "sample string 4"
  },
  "ExecutedFor": "2024-02-22T12:35:44.4543795+01:00",
  "ExecutedOn": "2024-02-22T12:35:44.4543795+01:00"
}

application/xml, text/xml

Sample:
<PlayerRankingScoreViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Controllers">
  <ExecutedFor>2024-02-22T12:35:44.4543795+01:00</ExecutedFor>
  <ExecutedOn>2024-02-22T12:35:44.4543795+01:00</ExecutedOn>
  <PositionData>
    <MemberId>sample string 4</MemberId>
    <PlayerId>3</PlayerId>
    <Position>1</Position>
    <Value>sample string 2</Value>
  </PositionData>
  <Ranking>sample string 1</Ranking>
  <RankingId>1</RankingId>
  <RankingRunId>1</RankingRunId>
</PlayerRankingScoreViewModel>