POST api/Standings

Request Information

URI Parameters

None.

Body Parameters

Standing
NameDescriptionTypeAdditional information
Id

Gets or sets the id of the record.

integer

None.

TournamentId

Gets or sets the tournament id that this standing is a part of.

integer

None.

AssociationData

Gets or sets the association data.

Association

None.

FinalRanking

Gets or sets the final ranking of the team.

integer

None.

Wins

Gets or sets the wins in the tournament (all games).

integer

None.

Losses

Gets or sets the losses in the tournament (all games).

integer

None.

Round

Gets or sets the round if this is a value for a specific round of the tournament.

integer

None.

RoundRobinRanking

Gets or sets the round robin ranking.

integer

None.

GroupInfo

Gets or sets the group id.

Group

None.

RoundRobinWins

Gets or sets the round robin wins.

integer

None.

RoundRobinLosses

Gets or sets the round robin losses.

integer

None.

RankingPoints

Gets or sets the ranking points.

decimal number

None.

OGQualificationPoints

Gets or sets the Olympic Games qualification points (if any).

decimal number

None.

DSCAverage

Gets or sets the DSC average for the team.

decimal number

None.

PlayOffFlag

Gets or sets the play off flag.

integer

None.

TeamNumber

Gets or sets the team number. This value is used at the YOG when the teams are mixed between nations.

integer

None.

OdfId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "TournamentId": 2,
  "AssociationData": {
    "AssociationId": 1,
    "Code": "sample string 2",
    "Name": "sample string 3",
    "FlagFileName": "sample string 4",
    "FlagFileX": 1,
    "FlagFileY": 1,
    "StartDate": "2017-12-12T15:48:58.9006612+00:00",
    "EndDate": "2017-12-12T15:48:58.9006612+00:00",
    "OfficialName": "sample string 5",
    "Links": []
  },
  "FinalRanking": 3,
  "Wins": 4,
  "Losses": 5,
  "Round": 1,
  "RoundRobinRanking": 6,
  "GroupInfo": {
    "Id": 1,
    "Name": "sample string 2"
  },
  "RoundRobinWins": 7,
  "RoundRobinLosses": 8,
  "RankingPoints": 9.0,
  "OGQualificationPoints": 10.0,
  "DSCAverage": 11.0,
  "PlayOffFlag": 12,
  "TeamNumber": 1,
  "OdfId": "sample string 13"
}

application/xml, text/xml

Sample:
<Standing xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://worldcurling.org/statistics/data/standing">
  <AssociationData xmlns:d2p1="http://worldcurling.org/statistics/data/association">
    <Links xmlns:d3p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
    <d2p1:AssociationId>1</d2p1:AssociationId>
    <d2p1:Code>sample string 2</d2p1:Code>
    <d2p1:EndDate>2017-12-12T15:48:58.9006612+00:00</d2p1:EndDate>
    <d2p1:FlagFileName>sample string 4</d2p1:FlagFileName>
    <d2p1:FlagFileX>1</d2p1:FlagFileX>
    <d2p1:FlagFileY>1</d2p1:FlagFileY>
    <d2p1:Name>sample string 3</d2p1:Name>
    <d2p1:OfficialName>sample string 5</d2p1:OfficialName>
    <d2p1:StartDate>2017-12-12T15:48:58.9006612+00:00</d2p1:StartDate>
  </AssociationData>
  <DSCAverage>11</DSCAverage>
  <FinalRanking>3</FinalRanking>
  <GroupInfo xmlns:d2p1="http://worldcurling.org/statistics/data/group">
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
  </GroupInfo>
  <Id>1</Id>
  <Losses>5</Losses>
  <OGQualificationPoints>10</OGQualificationPoints>
  <OdfId>sample string 13</OdfId>
  <PlayOffFlag>12</PlayOffFlag>
  <RankingPoints>9</RankingPoints>
  <Round>1</Round>
  <RoundRobinLosses>8</RoundRobinLosses>
  <RoundRobinRanking>6</RoundRobinRanking>
  <RoundRobinWins>7</RoundRobinWins>
  <TeamNumber>1</TeamNumber>
  <TournamentId>2</TournamentId>
  <Wins>4</Wins>
</Standing>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.