GET api/v{version}/rankings/latestbyname/{name}?includeDetails={includeDetails}&includeNoPoints={includeNoPoints}&recalculateIfNeeded={recalculateIfNeeded}
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
Name | Description | Type | Additional information |
---|---|---|---|
name |
the ranking name |
string |
Required |
includeDetails |
Include the points/money per season |
boolean |
Default value is False |
includeNoPoints | boolean |
Default value is False |
|
recalculateIfNeeded | boolean |
Default value is False |
|
version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
RankingScoreViewModelName | Description | Type | Additional 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-12-07T07:39:06.5651116+01:00", "ExecutedOn": "2023-12-07T07:39:06.5651116+01:00", "TimeStamp": "2023-12-07T07:39:06.5651116+01: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-12-07T07:39:06.5651116+01:00</ExecutedFor> <ExecutedOn>2023-12-07T07:39:06.5651116+01: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-12-07T07:39:06.5651116+01:00</TimeStamp> </RankingScoreViewModel>