GET api/v{version}/rankings/latestbyname/{name}?includeDetails={includeDetails}

Get the latest ranking run by name. The lastest run is kept up to date. Changes in the related seasons will trigger a re-calculation of the ranking.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
name

the ranking name

string

Required

includeDetails

Include the points/money per season

boolean

Default value is False

version

string

None.

Body Parameters

None.

Response Information

Resource Description

RankingScoreViewModel
NameDescriptionTypeAdditional information
Ranking

string

None.

Status

string

None.

Description

string

None.

TimeStamp

date

None.

Table

Table

None.

Response Formats

application/json, text/json

Sample:
{
  "Ranking": "sample string 1",
  "Status": "sample string 2",
  "Description": "sample string 3",
  "TimeStamp": "2021-04-16T18:38:02.1457196+02:00",
  "Table": {
    "Rows": null
  }
}

application/xml, text/xml

Sample:
<RankingScoreViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models">
  <Description>sample string 3</Description>
  <Ranking>sample string 1</Ranking>
  <Status>sample string 2</Status>
  <Table>
    <Rows xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  </Table>
  <TimeStamp>2021-04-16T18:38:02.1457196+02:00</TimeStamp>
</RankingScoreViewModel>