GET api/v{version}/rankings/{id}?date={date}&includeDetails={includeDetails}&includeNoPoints={includeNoPoints}

Determine the ranking for a specific date. This ranking is calculated with the current data in the database.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

the ranking id

integer

Required

date

Calculate the ranking for a specific date, if no date is provided the current date is used.

string

None.

includeDetails

Include the points/money per season

boolean

Default value is False

includeNoPoints

boolean

Default value is False

version

string

None.

Body Parameters

None.

Response Information

Resource Description

RankingScoreViewModel
NameDescriptionTypeAdditional information
RankingId

integer

None.

RankingRunId

integer

None.

Ranking

string

None.

Status

string

None.

Description

string

None.

ExecutedFor

date

None.

ExecutedOn

date

None.

TimeStamp

date

None.

Table

Table

None.

Response Formats

application/json, text/json

Sample:
{
  "RankingId": 1,
  "RankingRunId": 2,
  "Ranking": "sample string 3",
  "Status": "sample string 4",
  "Description": "sample string 5",
  "ExecutedFor": "2023-06-02T10:45:28.5209949+02:00",
  "ExecutedOn": "2023-06-02T10:45:28.5209949+02:00",
  "TimeStamp": "2023-06-02T10:45:28.5209949+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 5</Description>
  <ExecutedFor>2023-06-02T10:45:28.5209949+02:00</ExecutedFor>
  <ExecutedOn>2023-06-02T10:45:28.5209949+02:00</ExecutedOn>
  <Ranking>sample string 3</Ranking>
  <RankingId>1</RankingId>
  <RankingRunId>2</RankingRunId>
  <Status>sample string 4</Status>
  <Table>
    <Rows xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  </Table>
  <TimeStamp>2023-06-02T10:45:28.5209949+02:00</TimeStamp>
</RankingScoreViewModel>