POST api/v{version}/seeding

Get the rankings used by the system.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

SeedingQuery
NameDescriptionTypeAdditional information
SeasonId

integer

None.

RankingId

integer

None.

MemberIds

Collection of string

None.

PlayerIds

Collection of integer

None.

RunTime

date

None.

Request Formats

application/json, text/json

Sample:
{
  "SeasonId": 1,
  "RankingId": 1,
  "MemberIds": [
    "sample string 1",
    "sample string 2"
  ],
  "PlayerIds": [
    1,
    2
  ],
  "RunTime": "2021-10-20T21:53:47.7021724+02:00"
}

application/xml, text/xml

Sample:
<SeedingQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models">
  <MemberIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </MemberIds>
  <PlayerIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </PlayerIds>
  <RankingId>1</RankingId>
  <RunTime>2021-10-20T21:53:47.7021724+02:00</RunTime>
  <SeasonId>1</SeasonId>
</SeedingQuery>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SeedingViewModel
NameDescriptionTypeAdditional information
RankingId

integer

None.

Seedings

Collection of SeedingEntry

None.

ExecutedOn

date

None.

ExecutedFor

date

None.

Status

string

None.

RunId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "RankingId": 1,
  "Seedings": [
    {
      "PlayerId": 1,
      "MemberId": "sample string 1",
      "Name": "sample string 2",
      "Seeding": 1,
      "Position": 1,
      "Order": 3
    },
    {
      "PlayerId": 1,
      "MemberId": "sample string 1",
      "Name": "sample string 2",
      "Seeding": 1,
      "Position": 1,
      "Order": 3
    }
  ],
  "ExecutedOn": "2021-10-20T21:53:47.7178001+02:00",
  "ExecutedFor": "2021-10-20T21:53:47.7178001+02:00",
  "Status": "sample string 4",
  "RunId": 1
}

application/xml, text/xml

Sample:
<SeedingViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Domain.Models">
  <ExecutedFor>2021-10-20T21:53:47.7178001+02:00</ExecutedFor>
  <ExecutedOn>2021-10-20T21:53:47.7178001+02:00</ExecutedOn>
  <RankingId>1</RankingId>
  <Seedings>
    <SeedingEntry>
      <MemberId>sample string 1</MemberId>
      <Name>sample string 2</Name>
      <PlayerId>1</PlayerId>
      <Position>1</Position>
      <Seeding>1</Seeding>
    </SeedingEntry>
    <SeedingEntry>
      <MemberId>sample string 1</MemberId>
      <Name>sample string 2</Name>
      <PlayerId>1</PlayerId>
      <Position>1</Position>
      <Seeding>1</Seeding>
    </SeedingEntry>
  </Seedings>
  <Status>sample string 4</Status>
</SeedingViewModel>