GET api/v{version}/rankings/runs/{id}
Get all the available ranking runs for a ranking. A run can either be live, dirty, locked or saved. The live ranking runs are describe the current state as provided by the data in the database. A dirty ranking, is a live ranking with of with the underlying data is changed. The ranking should be recalculated to make it 'live' again. Locked and saved ranking runs are stored live rankings. They will not be changed.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Ranking id |
integer |
Required |
version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of RankingRunViewModelName | Description | Type | Additional information |
---|---|---|---|
TimeStamp | date |
None. |
|
Status | string |
None. |
|
Id | integer |
None. |
|
Description | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "TimeStamp": "2023-12-07T01:20:18.0351441+01:00", "Status": "sample string 2", "Id": 3, "Description": "sample string 4" }, { "TimeStamp": "2023-12-07T01:20:18.0351441+01:00", "Status": "sample string 2", "Id": 3, "Description": "sample string 4" } ]
application/xml, text/xml
Sample:
<ArrayOfRankingRunViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models"> <RankingRunViewModel> <Description>sample string 4</Description> </RankingRunViewModel> <RankingRunViewModel> <Description>sample string 4</Description> </RankingRunViewModel> </ArrayOfRankingRunViewModel>