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

Build a ranking for a specific date.

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
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-09-28T03:42:39.2192358+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-09-28T03:42:39.2192358+02:00</TimeStamp>
</RankingScoreViewModel>