GET api/Reports/WinLoss/{tournamentId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tournamentId

integer

Required

Body Parameters

None.

Response Information

Resource Description

WinLosssReport
NameDescriptionTypeAdditional information
RoundRobin

Gets or sets the round robin data.

Collection of WinLossReportGroupData

None.

Playoff

Gets or sets the playoff data.

Collection of WinLossReportGroupData

None.

Response Formats

application/json, text/json

Sample:
{
  "RoundRobin": [
    {
      "GroupData": {
        "Id": 1,
        "Name": "sample string 2"
      },
      "Teams": [
        {
          "Team": {
            "AssociationId": 1,
            "Code": "sample string 2",
            "Name": "sample string 3",
            "FlagFileName": "sample string 4",
            "FlagFileX": 1,
            "FlagFileY": 1,
            "StartDate": "2017-12-12T01:43:08.6374336+00:00",
            "EndDate": "2017-12-12T01:43:08.6374336+00:00",
            "OfficialName": "sample string 5",
            "Links": []
          },
          "Opponents": [
            {
              "OpponentId": 1,
              "Self": true,
              "Games": [
                {
                  "For": 1,
                  "Against": 2
                },
                {
                  "For": 1,
                  "Against": 2
                }
              ]
            },
            {
              "OpponentId": 1,
              "Self": true,
              "Games": [
                {
                  "For": 1,
                  "Against": 2
                },
                {
                  "For": 1,
                  "Against": 2
                }
              ]
            }
          ]
        },
        {
          "Team": {
            "AssociationId": 1,
            "Code": "sample string 2",
            "Name": "sample string 3",
            "FlagFileName": "sample string 4",
            "FlagFileX": 1,
            "FlagFileY": 1,
            "StartDate": "2017-12-12T01:43:08.6374336+00:00",
            "EndDate": "2017-12-12T01:43:08.6374336+00:00",
            "OfficialName": "sample string 5",
            "Links": []
          },
          "Opponents": [
            {
              "OpponentId": 1,
              "Self": true,
              "Games": [
                {
                  "For": 1,
                  "Against": 2
                },
                {
                  "For": 1,
                  "Against": 2
                }
              ]
            },
            {
              "OpponentId": 1,
              "Self": true,
              "Games": [
                {
                  "For": 1,
                  "Against": 2
                },
                {
                  "For": 1,
                  "Against": 2
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "GroupData": {
        "Id": 1,
        "Name": "sample string 2"
      },
      "Teams": [
        {
          "Team": {
            "AssociationId": 1,
            "Code": "sample string 2",
            "Name": "sample string 3",
            "FlagFileName": "sample string 4",
            "FlagFileX": 1,
            "FlagFileY": 1,
            "StartDate": "2017-12-12T01:43:08.6374336+00:00",
            "EndDate": "2017-12-12T01:43:08.6374336+00:00",
            "OfficialName": "sample string 5",
            "Links": []
          },
          "Opponents": [
            {
              "OpponentId": 1,
              "Self": true,
              "Games": [
                {
                  "For": 1,
                  "Against": 2
                },
                {
                  "For": 1,
                  "Against": 2
                }
              ]
            },
            {
              "OpponentId": 1,
              "Self": true,
              "Games": [
                {
                  "For": 1,
                  "Against": 2
                },
                {
                  "For": 1,
                  "Against": 2
                }
              ]
            }
          ]
        },
        {
          "Team": {
            "AssociationId": 1,
            "Code": "sample string 2",
            "Name": "sample string 3",
            "FlagFileName": "sample string 4",
            "FlagFileX": 1,
            "FlagFileY": 1,
            "StartDate": "2017-12-12T01:43:08.6374336+00:00",
            "EndDate": "2017-12-12T01:43:08.6374336+00:00",
            "OfficialName": "sample string 5",
            "Links": []
          },
          "Opponents": [
            {
              "OpponentId": 1,
              "Self": true,
              "Games": [
                {
                  "For": 1,
                  "Against": 2
                },
                {
                  "For": 1,
                  "Against": 2
                }
              ]
            },
            {
              "OpponentId": 1,
              "Self": true,
              "Games": [
                {
                  "For": 1,
                  "Against": 2
                },
                {
                  "For": 1,
                  "Against": 2
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "Playoff": [
    {
      "GroupData": {
        "Id": 1,
        "Name": "sample string 2"
      },
      "Teams": [
        {
          "Team": {
            "AssociationId": 1,
            "Code": "sample string 2",
            "Name": "sample string 3",
            "FlagFileName": "sample string 4",
            "FlagFileX": 1,
            "FlagFileY": 1,
            "StartDate": "2017-12-12T01:43:08.6374336+00:00",
            "EndDate": "2017-12-12T01:43:08.6374336+00:00",
            "OfficialName": "sample string 5",
            "Links": []
          },
          "Opponents": [
            {
              "OpponentId": 1,
              "Self": true,
              "Games": [
                {
                  "For": 1,
                  "Against": 2
                },
                {
                  "For": 1,
                  "Against": 2
                }
              ]
            },
            {
              "OpponentId": 1,
              "Self": true,
              "Games": [
                {
                  "For": 1,
                  "Against": 2
                },
                {
                  "For": 1,
                  "Against": 2
                }
              ]
            }
          ]
        },
        {
          "Team": {
            "AssociationId": 1,
            "Code": "sample string 2",
            "Name": "sample string 3",
            "FlagFileName": "sample string 4",
            "FlagFileX": 1,
            "FlagFileY": 1,
            "StartDate": "2017-12-12T01:43:08.6374336+00:00",
            "EndDate": "2017-12-12T01:43:08.6374336+00:00",
            "OfficialName": "sample string 5",
            "Links": []
          },
          "Opponents": [
            {
              "OpponentId": 1,
              "Self": true,
              "Games": [
                {
                  "For": 1,
                  "Against": 2
                },
                {
                  "For": 1,
                  "Against": 2
                }
              ]
            },
            {
              "OpponentId": 1,
              "Self": true,
              "Games": [
                {
                  "For": 1,
                  "Against": 2
                },
                {
                  "For": 1,
                  "Against": 2
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "GroupData": {
        "Id": 1,
        "Name": "sample string 2"
      },
      "Teams": [
        {
          "Team": {
            "AssociationId": 1,
            "Code": "sample string 2",
            "Name": "sample string 3",
            "FlagFileName": "sample string 4",
            "FlagFileX": 1,
            "FlagFileY": 1,
            "StartDate": "2017-12-12T01:43:08.6374336+00:00",
            "EndDate": "2017-12-12T01:43:08.6374336+00:00",
            "OfficialName": "sample string 5",
            "Links": []
          },
          "Opponents": [
            {
              "OpponentId": 1,
              "Self": true,
              "Games": [
                {
                  "For": 1,
                  "Against": 2
                },
                {
                  "For": 1,
                  "Against": 2
                }
              ]
            },
            {
              "OpponentId": 1,
              "Self": true,
              "Games": [
                {
                  "For": 1,
                  "Against": 2
                },
                {
                  "For": 1,
                  "Against": 2
                }
              ]
            }
          ]
        },
        {
          "Team": {
            "AssociationId": 1,
            "Code": "sample string 2",
            "Name": "sample string 3",
            "FlagFileName": "sample string 4",
            "FlagFileX": 1,
            "FlagFileY": 1,
            "StartDate": "2017-12-12T01:43:08.6374336+00:00",
            "EndDate": "2017-12-12T01:43:08.6374336+00:00",
            "OfficialName": "sample string 5",
            "Links": []
          },
          "Opponents": [
            {
              "OpponentId": 1,
              "Self": true,
              "Games": [
                {
                  "For": 1,
                  "Against": 2
                },
                {
                  "For": 1,
                  "Against": 2
                }
              ]
            },
            {
              "OpponentId": 1,
              "Self": true,
              "Games": [
                {
                  "For": 1,
                  "Against": 2
                },
                {
                  "For": 1,
                  "Against": 2
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<WinLosssReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WCF.Statistics.Entities.Reports">
  <Playoff>
    <WinLossReportGroupData>
      <GroupData xmlns:d4p1="http://worldcurling.org/statistics/data/group">
        <d4p1:Id>1</d4p1:Id>
        <d4p1:Name>sample string 2</d4p1:Name>
      </GroupData>
      <Teams>
        <WinLossReportTeamData>
          <Opponents>
            <WinLossReportOpponentData>
              <Games>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
              </Games>
              <OpponentId>1</OpponentId>
              <Self>true</Self>
            </WinLossReportOpponentData>
            <WinLossReportOpponentData>
              <Games>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
              </Games>
              <OpponentId>1</OpponentId>
              <Self>true</Self>
            </WinLossReportOpponentData>
          </Opponents>
          <Team xmlns:d6p1="http://worldcurling.org/statistics/data/association">
            <Links xmlns:d7p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
            <d6p1:AssociationId>1</d6p1:AssociationId>
            <d6p1:Code>sample string 2</d6p1:Code>
            <d6p1:EndDate>2017-12-12T01:43:08.6374336+00:00</d6p1:EndDate>
            <d6p1:FlagFileName>sample string 4</d6p1:FlagFileName>
            <d6p1:FlagFileX>1</d6p1:FlagFileX>
            <d6p1:FlagFileY>1</d6p1:FlagFileY>
            <d6p1:Name>sample string 3</d6p1:Name>
            <d6p1:OfficialName>sample string 5</d6p1:OfficialName>
            <d6p1:StartDate>2017-12-12T01:43:08.6374336+00:00</d6p1:StartDate>
          </Team>
        </WinLossReportTeamData>
        <WinLossReportTeamData>
          <Opponents>
            <WinLossReportOpponentData>
              <Games>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
              </Games>
              <OpponentId>1</OpponentId>
              <Self>true</Self>
            </WinLossReportOpponentData>
            <WinLossReportOpponentData>
              <Games>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
              </Games>
              <OpponentId>1</OpponentId>
              <Self>true</Self>
            </WinLossReportOpponentData>
          </Opponents>
          <Team xmlns:d6p1="http://worldcurling.org/statistics/data/association">
            <Links xmlns:d7p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
            <d6p1:AssociationId>1</d6p1:AssociationId>
            <d6p1:Code>sample string 2</d6p1:Code>
            <d6p1:EndDate>2017-12-12T01:43:08.6374336+00:00</d6p1:EndDate>
            <d6p1:FlagFileName>sample string 4</d6p1:FlagFileName>
            <d6p1:FlagFileX>1</d6p1:FlagFileX>
            <d6p1:FlagFileY>1</d6p1:FlagFileY>
            <d6p1:Name>sample string 3</d6p1:Name>
            <d6p1:OfficialName>sample string 5</d6p1:OfficialName>
            <d6p1:StartDate>2017-12-12T01:43:08.6374336+00:00</d6p1:StartDate>
          </Team>
        </WinLossReportTeamData>
      </Teams>
    </WinLossReportGroupData>
    <WinLossReportGroupData>
      <GroupData xmlns:d4p1="http://worldcurling.org/statistics/data/group">
        <d4p1:Id>1</d4p1:Id>
        <d4p1:Name>sample string 2</d4p1:Name>
      </GroupData>
      <Teams>
        <WinLossReportTeamData>
          <Opponents>
            <WinLossReportOpponentData>
              <Games>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
              </Games>
              <OpponentId>1</OpponentId>
              <Self>true</Self>
            </WinLossReportOpponentData>
            <WinLossReportOpponentData>
              <Games>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
              </Games>
              <OpponentId>1</OpponentId>
              <Self>true</Self>
            </WinLossReportOpponentData>
          </Opponents>
          <Team xmlns:d6p1="http://worldcurling.org/statistics/data/association">
            <Links xmlns:d7p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
            <d6p1:AssociationId>1</d6p1:AssociationId>
            <d6p1:Code>sample string 2</d6p1:Code>
            <d6p1:EndDate>2017-12-12T01:43:08.6374336+00:00</d6p1:EndDate>
            <d6p1:FlagFileName>sample string 4</d6p1:FlagFileName>
            <d6p1:FlagFileX>1</d6p1:FlagFileX>
            <d6p1:FlagFileY>1</d6p1:FlagFileY>
            <d6p1:Name>sample string 3</d6p1:Name>
            <d6p1:OfficialName>sample string 5</d6p1:OfficialName>
            <d6p1:StartDate>2017-12-12T01:43:08.6374336+00:00</d6p1:StartDate>
          </Team>
        </WinLossReportTeamData>
        <WinLossReportTeamData>
          <Opponents>
            <WinLossReportOpponentData>
              <Games>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
              </Games>
              <OpponentId>1</OpponentId>
              <Self>true</Self>
            </WinLossReportOpponentData>
            <WinLossReportOpponentData>
              <Games>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
              </Games>
              <OpponentId>1</OpponentId>
              <Self>true</Self>
            </WinLossReportOpponentData>
          </Opponents>
          <Team xmlns:d6p1="http://worldcurling.org/statistics/data/association">
            <Links xmlns:d7p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
            <d6p1:AssociationId>1</d6p1:AssociationId>
            <d6p1:Code>sample string 2</d6p1:Code>
            <d6p1:EndDate>2017-12-12T01:43:08.6374336+00:00</d6p1:EndDate>
            <d6p1:FlagFileName>sample string 4</d6p1:FlagFileName>
            <d6p1:FlagFileX>1</d6p1:FlagFileX>
            <d6p1:FlagFileY>1</d6p1:FlagFileY>
            <d6p1:Name>sample string 3</d6p1:Name>
            <d6p1:OfficialName>sample string 5</d6p1:OfficialName>
            <d6p1:StartDate>2017-12-12T01:43:08.6374336+00:00</d6p1:StartDate>
          </Team>
        </WinLossReportTeamData>
      </Teams>
    </WinLossReportGroupData>
  </Playoff>
  <RoundRobin>
    <WinLossReportGroupData>
      <GroupData xmlns:d4p1="http://worldcurling.org/statistics/data/group">
        <d4p1:Id>1</d4p1:Id>
        <d4p1:Name>sample string 2</d4p1:Name>
      </GroupData>
      <Teams>
        <WinLossReportTeamData>
          <Opponents>
            <WinLossReportOpponentData>
              <Games>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
              </Games>
              <OpponentId>1</OpponentId>
              <Self>true</Self>
            </WinLossReportOpponentData>
            <WinLossReportOpponentData>
              <Games>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
              </Games>
              <OpponentId>1</OpponentId>
              <Self>true</Self>
            </WinLossReportOpponentData>
          </Opponents>
          <Team xmlns:d6p1="http://worldcurling.org/statistics/data/association">
            <Links xmlns:d7p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
            <d6p1:AssociationId>1</d6p1:AssociationId>
            <d6p1:Code>sample string 2</d6p1:Code>
            <d6p1:EndDate>2017-12-12T01:43:08.6374336+00:00</d6p1:EndDate>
            <d6p1:FlagFileName>sample string 4</d6p1:FlagFileName>
            <d6p1:FlagFileX>1</d6p1:FlagFileX>
            <d6p1:FlagFileY>1</d6p1:FlagFileY>
            <d6p1:Name>sample string 3</d6p1:Name>
            <d6p1:OfficialName>sample string 5</d6p1:OfficialName>
            <d6p1:StartDate>2017-12-12T01:43:08.6374336+00:00</d6p1:StartDate>
          </Team>
        </WinLossReportTeamData>
        <WinLossReportTeamData>
          <Opponents>
            <WinLossReportOpponentData>
              <Games>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
              </Games>
              <OpponentId>1</OpponentId>
              <Self>true</Self>
            </WinLossReportOpponentData>
            <WinLossReportOpponentData>
              <Games>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
              </Games>
              <OpponentId>1</OpponentId>
              <Self>true</Self>
            </WinLossReportOpponentData>
          </Opponents>
          <Team xmlns:d6p1="http://worldcurling.org/statistics/data/association">
            <Links xmlns:d7p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
            <d6p1:AssociationId>1</d6p1:AssociationId>
            <d6p1:Code>sample string 2</d6p1:Code>
            <d6p1:EndDate>2017-12-12T01:43:08.6374336+00:00</d6p1:EndDate>
            <d6p1:FlagFileName>sample string 4</d6p1:FlagFileName>
            <d6p1:FlagFileX>1</d6p1:FlagFileX>
            <d6p1:FlagFileY>1</d6p1:FlagFileY>
            <d6p1:Name>sample string 3</d6p1:Name>
            <d6p1:OfficialName>sample string 5</d6p1:OfficialName>
            <d6p1:StartDate>2017-12-12T01:43:08.6374336+00:00</d6p1:StartDate>
          </Team>
        </WinLossReportTeamData>
      </Teams>
    </WinLossReportGroupData>
    <WinLossReportGroupData>
      <GroupData xmlns:d4p1="http://worldcurling.org/statistics/data/group">
        <d4p1:Id>1</d4p1:Id>
        <d4p1:Name>sample string 2</d4p1:Name>
      </GroupData>
      <Teams>
        <WinLossReportTeamData>
          <Opponents>
            <WinLossReportOpponentData>
              <Games>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
              </Games>
              <OpponentId>1</OpponentId>
              <Self>true</Self>
            </WinLossReportOpponentData>
            <WinLossReportOpponentData>
              <Games>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
              </Games>
              <OpponentId>1</OpponentId>
              <Self>true</Self>
            </WinLossReportOpponentData>
          </Opponents>
          <Team xmlns:d6p1="http://worldcurling.org/statistics/data/association">
            <Links xmlns:d7p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
            <d6p1:AssociationId>1</d6p1:AssociationId>
            <d6p1:Code>sample string 2</d6p1:Code>
            <d6p1:EndDate>2017-12-12T01:43:08.6374336+00:00</d6p1:EndDate>
            <d6p1:FlagFileName>sample string 4</d6p1:FlagFileName>
            <d6p1:FlagFileX>1</d6p1:FlagFileX>
            <d6p1:FlagFileY>1</d6p1:FlagFileY>
            <d6p1:Name>sample string 3</d6p1:Name>
            <d6p1:OfficialName>sample string 5</d6p1:OfficialName>
            <d6p1:StartDate>2017-12-12T01:43:08.6374336+00:00</d6p1:StartDate>
          </Team>
        </WinLossReportTeamData>
        <WinLossReportTeamData>
          <Opponents>
            <WinLossReportOpponentData>
              <Games>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
              </Games>
              <OpponentId>1</OpponentId>
              <Self>true</Self>
            </WinLossReportOpponentData>
            <WinLossReportOpponentData>
              <Games>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
                <WinLossReportGameData>
                  <Against>2</Against>
                  <For>1</For>
                </WinLossReportGameData>
              </Games>
              <OpponentId>1</OpponentId>
              <Self>true</Self>
            </WinLossReportOpponentData>
          </Opponents>
          <Team xmlns:d6p1="http://worldcurling.org/statistics/data/association">
            <Links xmlns:d7p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
            <d6p1:AssociationId>1</d6p1:AssociationId>
            <d6p1:Code>sample string 2</d6p1:Code>
            <d6p1:EndDate>2017-12-12T01:43:08.6374336+00:00</d6p1:EndDate>
            <d6p1:FlagFileName>sample string 4</d6p1:FlagFileName>
            <d6p1:FlagFileX>1</d6p1:FlagFileX>
            <d6p1:FlagFileY>1</d6p1:FlagFileY>
            <d6p1:Name>sample string 3</d6p1:Name>
            <d6p1:OfficialName>sample string 5</d6p1:OfficialName>
            <d6p1:StartDate>2017-12-12T01:43:08.6374336+00:00</d6p1:StartDate>
          </Team>
        </WinLossReportTeamData>
      </Teams>
    </WinLossReportGroupData>
  </RoundRobin>
</WinLosssReport>