GET api/v{version}/rankings

Get the rankings used by the system.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of RankingViewModel
NameDescriptionTypeAdditional information
Name

string

None.

Short

string

None.

Order

integer

None.

Slug

string

None.

Description

string

None.

Status

string

None.

LastUpdate

date

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Name": "sample string 1",
    "Short": "sample string 2",
    "Order": 3,
    "Slug": "sample string 4",
    "Description": "sample string 5",
    "Status": "sample string 6",
    "LastUpdate": "2021-10-20T20:48:30.1389958+02:00",
    "Id": 7
  },
  {
    "Name": "sample string 1",
    "Short": "sample string 2",
    "Order": 3,
    "Slug": "sample string 4",
    "Description": "sample string 5",
    "Status": "sample string 6",
    "LastUpdate": "2021-10-20T20:48:30.1389958+02:00",
    "Id": 7
  }
]

application/xml, text/xml

Sample:
<ArrayOfRankingViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models">
  <RankingViewModel>
    <Name>sample string 1</Name>
    <Order>3</Order>
    <Short>sample string 2</Short>
    <Slug>sample string 4</Slug>
    <Status>sample string 6</Status>
  </RankingViewModel>
  <RankingViewModel>
    <Name>sample string 1</Name>
    <Order>3</Order>
    <Short>sample string 2</Short>
    <Slug>sample string 4</Slug>
    <Status>sample string 6</Status>
  </RankingViewModel>
</ArrayOfRankingViewModel>