GET api/Reports/TournamentPercentages/{tournamentId}?playoff={playoff}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tournamentId

integer

Required

playoff

ReportsTournamentScope

Default value is RoundRobinOnly

Body Parameters

None.

Response Information

Resource Description

PercentagesReportData
NameDescriptionTypeAdditional information
People

Collection of PercentagePersonData

None.

Draws

Collection of DrawType

None.

Response Formats

application/json, text/json

Sample:
{
  "People": [
    {
      "Person": {
        "FirstName": "sample string 1",
        "Initial": "sample string 2",
        "PersonId": 3,
        "SurName": "sample string 4",
        "Links": []
      },
      "Position": {
        "Number": 1,
        "Name": "sample string 2",
        "IsSkip": true,
        "IsPlayer": true,
        "ShortName": "sample string 5"
      },
      "AssociationData": {
        "AssociationId": 1,
        "Code": "sample string 2",
        "Name": "sample string 3",
        "FlagFileName": "sample string 4",
        "FlagFileX": 1,
        "FlagFileY": 1,
        "StartDate": "2019-09-20T17:17:27.4169517+00:00",
        "EndDate": "2019-09-20T17:17:27.4169517+00:00",
        "OfficialName": "sample string 5",
        "Links": []
      },
      "Average": 1.0,
      "Games": [
        {
          "Opponent": "sample string 1",
          "Draw": {
            "Id": 1,
            "DrawNumber": 2,
            "Name": "sample string 3",
            "GameType": 0,
            "Abbreviation": "sample string 4",
            "OdfId": "sample string 5"
          },
          "Position": {
            "Number": 1,
            "Name": "sample string 2",
            "IsSkip": true,
            "IsPlayer": true,
            "ShortName": "sample string 5"
          },
          "Score": 1.0
        },
        {
          "Opponent": "sample string 1",
          "Draw": {
            "Id": 1,
            "DrawNumber": 2,
            "Name": "sample string 3",
            "GameType": 0,
            "Abbreviation": "sample string 4",
            "OdfId": "sample string 5"
          },
          "Position": {
            "Number": 1,
            "Name": "sample string 2",
            "IsSkip": true,
            "IsPlayer": true,
            "ShortName": "sample string 5"
          },
          "Score": 1.0
        }
      ]
    },
    {
      "Person": {
        "FirstName": "sample string 1",
        "Initial": "sample string 2",
        "PersonId": 3,
        "SurName": "sample string 4",
        "Links": []
      },
      "Position": {
        "Number": 1,
        "Name": "sample string 2",
        "IsSkip": true,
        "IsPlayer": true,
        "ShortName": "sample string 5"
      },
      "AssociationData": {
        "AssociationId": 1,
        "Code": "sample string 2",
        "Name": "sample string 3",
        "FlagFileName": "sample string 4",
        "FlagFileX": 1,
        "FlagFileY": 1,
        "StartDate": "2019-09-20T17:17:27.4169517+00:00",
        "EndDate": "2019-09-20T17:17:27.4169517+00:00",
        "OfficialName": "sample string 5",
        "Links": []
      },
      "Average": 1.0,
      "Games": [
        {
          "Opponent": "sample string 1",
          "Draw": {
            "Id": 1,
            "DrawNumber": 2,
            "Name": "sample string 3",
            "GameType": 0,
            "Abbreviation": "sample string 4",
            "OdfId": "sample string 5"
          },
          "Position": {
            "Number": 1,
            "Name": "sample string 2",
            "IsSkip": true,
            "IsPlayer": true,
            "ShortName": "sample string 5"
          },
          "Score": 1.0
        },
        {
          "Opponent": "sample string 1",
          "Draw": {
            "Id": 1,
            "DrawNumber": 2,
            "Name": "sample string 3",
            "GameType": 0,
            "Abbreviation": "sample string 4",
            "OdfId": "sample string 5"
          },
          "Position": {
            "Number": 1,
            "Name": "sample string 2",
            "IsSkip": true,
            "IsPlayer": true,
            "ShortName": "sample string 5"
          },
          "Score": 1.0
        }
      ]
    }
  ],
  "Draws": [
    {
      "Id": 1,
      "DrawNumber": 2,
      "Name": "sample string 3",
      "GameType": 0,
      "Abbreviation": "sample string 4",
      "OdfId": "sample string 5"
    },
    {
      "Id": 1,
      "DrawNumber": 2,
      "Name": "sample string 3",
      "GameType": 0,
      "Abbreviation": "sample string 4",
      "OdfId": "sample string 5"
    }
  ]
}

application/xml, text/xml

Sample:
<PercentagesReportData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WCF.Statistics.Entities.Reports">
  <Draws xmlns:d2p1="http://worldcurling.org/statistics/data/drawtype">
    <d2p1:DrawType>
      <d2p1:Abbreviation>sample string 4</d2p1:Abbreviation>
      <d2p1:DrawNumber>2</d2p1:DrawNumber>
      <d2p1:GameType>Roundrobin</d2p1:GameType>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:OdfId>sample string 5</d2p1:OdfId>
    </d2p1:DrawType>
    <d2p1:DrawType>
      <d2p1:Abbreviation>sample string 4</d2p1:Abbreviation>
      <d2p1:DrawNumber>2</d2p1:DrawNumber>
      <d2p1:GameType>Roundrobin</d2p1:GameType>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:OdfId>sample string 5</d2p1:OdfId>
    </d2p1:DrawType>
  </Draws>
  <People>
    <PercentagePersonData>
      <AssociationData xmlns:d4p1="http://worldcurling.org/statistics/data/association">
        <Links xmlns:d5p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
        <d4p1:AssociationId>1</d4p1:AssociationId>
        <d4p1:Code>sample string 2</d4p1:Code>
        <d4p1:EndDate>2019-09-20T17:17:27.4169517+00:00</d4p1:EndDate>
        <d4p1:FlagFileName>sample string 4</d4p1:FlagFileName>
        <d4p1:FlagFileX>1</d4p1:FlagFileX>
        <d4p1:FlagFileY>1</d4p1:FlagFileY>
        <d4p1:Name>sample string 3</d4p1:Name>
        <d4p1:OfficialName>sample string 5</d4p1:OfficialName>
        <d4p1:StartDate>2019-09-20T17:17:27.4169517+00:00</d4p1:StartDate>
      </AssociationData>
      <Average>1</Average>
      <Games>
        <PercentagesGameData>
          <Draw xmlns:d6p1="http://worldcurling.org/statistics/data/drawtype">
            <d6p1:Abbreviation>sample string 4</d6p1:Abbreviation>
            <d6p1:DrawNumber>2</d6p1:DrawNumber>
            <d6p1:GameType>Roundrobin</d6p1:GameType>
            <d6p1:Id>1</d6p1:Id>
            <d6p1:Name>sample string 3</d6p1:Name>
            <d6p1:OdfId>sample string 5</d6p1:OdfId>
          </Draw>
          <Opponent>sample string 1</Opponent>
          <Position xmlns:d6p1="http://worldcurling.org/statistics/data/position">
            <d6p1:IsPlayer>true</d6p1:IsPlayer>
            <d6p1:IsSkip>true</d6p1:IsSkip>
            <d6p1:Name>sample string 2</d6p1:Name>
            <d6p1:Number>1</d6p1:Number>
            <d6p1:ShortName>sample string 5</d6p1:ShortName>
          </Position>
          <Score>1</Score>
        </PercentagesGameData>
        <PercentagesGameData>
          <Draw xmlns:d6p1="http://worldcurling.org/statistics/data/drawtype">
            <d6p1:Abbreviation>sample string 4</d6p1:Abbreviation>
            <d6p1:DrawNumber>2</d6p1:DrawNumber>
            <d6p1:GameType>Roundrobin</d6p1:GameType>
            <d6p1:Id>1</d6p1:Id>
            <d6p1:Name>sample string 3</d6p1:Name>
            <d6p1:OdfId>sample string 5</d6p1:OdfId>
          </Draw>
          <Opponent>sample string 1</Opponent>
          <Position xmlns:d6p1="http://worldcurling.org/statistics/data/position">
            <d6p1:IsPlayer>true</d6p1:IsPlayer>
            <d6p1:IsSkip>true</d6p1:IsSkip>
            <d6p1:Name>sample string 2</d6p1:Name>
            <d6p1:Number>1</d6p1:Number>
            <d6p1:ShortName>sample string 5</d6p1:ShortName>
          </Position>
          <Score>1</Score>
        </PercentagesGameData>
      </Games>
      <Person xmlns:d4p1="http://worldcurling.org/statistics/data/personkeydata">
        <Links xmlns:d5p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
        <d4p1:FirstName>sample string 1</d4p1:FirstName>
        <d4p1:Initial>sample string 2</d4p1:Initial>
        <d4p1:PersonId>3</d4p1:PersonId>
        <d4p1:SurName>sample string 4</d4p1:SurName>
      </Person>
      <Position xmlns:d4p1="http://worldcurling.org/statistics/data/position">
        <d4p1:IsPlayer>true</d4p1:IsPlayer>
        <d4p1:IsSkip>true</d4p1:IsSkip>
        <d4p1:Name>sample string 2</d4p1:Name>
        <d4p1:Number>1</d4p1:Number>
        <d4p1:ShortName>sample string 5</d4p1:ShortName>
      </Position>
    </PercentagePersonData>
    <PercentagePersonData>
      <AssociationData xmlns:d4p1="http://worldcurling.org/statistics/data/association">
        <Links xmlns:d5p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
        <d4p1:AssociationId>1</d4p1:AssociationId>
        <d4p1:Code>sample string 2</d4p1:Code>
        <d4p1:EndDate>2019-09-20T17:17:27.4169517+00:00</d4p1:EndDate>
        <d4p1:FlagFileName>sample string 4</d4p1:FlagFileName>
        <d4p1:FlagFileX>1</d4p1:FlagFileX>
        <d4p1:FlagFileY>1</d4p1:FlagFileY>
        <d4p1:Name>sample string 3</d4p1:Name>
        <d4p1:OfficialName>sample string 5</d4p1:OfficialName>
        <d4p1:StartDate>2019-09-20T17:17:27.4169517+00:00</d4p1:StartDate>
      </AssociationData>
      <Average>1</Average>
      <Games>
        <PercentagesGameData>
          <Draw xmlns:d6p1="http://worldcurling.org/statistics/data/drawtype">
            <d6p1:Abbreviation>sample string 4</d6p1:Abbreviation>
            <d6p1:DrawNumber>2</d6p1:DrawNumber>
            <d6p1:GameType>Roundrobin</d6p1:GameType>
            <d6p1:Id>1</d6p1:Id>
            <d6p1:Name>sample string 3</d6p1:Name>
            <d6p1:OdfId>sample string 5</d6p1:OdfId>
          </Draw>
          <Opponent>sample string 1</Opponent>
          <Position xmlns:d6p1="http://worldcurling.org/statistics/data/position">
            <d6p1:IsPlayer>true</d6p1:IsPlayer>
            <d6p1:IsSkip>true</d6p1:IsSkip>
            <d6p1:Name>sample string 2</d6p1:Name>
            <d6p1:Number>1</d6p1:Number>
            <d6p1:ShortName>sample string 5</d6p1:ShortName>
          </Position>
          <Score>1</Score>
        </PercentagesGameData>
        <PercentagesGameData>
          <Draw xmlns:d6p1="http://worldcurling.org/statistics/data/drawtype">
            <d6p1:Abbreviation>sample string 4</d6p1:Abbreviation>
            <d6p1:DrawNumber>2</d6p1:DrawNumber>
            <d6p1:GameType>Roundrobin</d6p1:GameType>
            <d6p1:Id>1</d6p1:Id>
            <d6p1:Name>sample string 3</d6p1:Name>
            <d6p1:OdfId>sample string 5</d6p1:OdfId>
          </Draw>
          <Opponent>sample string 1</Opponent>
          <Position xmlns:d6p1="http://worldcurling.org/statistics/data/position">
            <d6p1:IsPlayer>true</d6p1:IsPlayer>
            <d6p1:IsSkip>true</d6p1:IsSkip>
            <d6p1:Name>sample string 2</d6p1:Name>
            <d6p1:Number>1</d6p1:Number>
            <d6p1:ShortName>sample string 5</d6p1:ShortName>
          </Position>
          <Score>1</Score>
        </PercentagesGameData>
      </Games>
      <Person xmlns:d4p1="http://worldcurling.org/statistics/data/personkeydata">
        <Links xmlns:d5p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
        <d4p1:FirstName>sample string 1</d4p1:FirstName>
        <d4p1:Initial>sample string 2</d4p1:Initial>
        <d4p1:PersonId>3</d4p1:PersonId>
        <d4p1:SurName>sample string 4</d4p1:SurName>
      </Person>
      <Position xmlns:d4p1="http://worldcurling.org/statistics/data/position">
        <d4p1:IsPlayer>true</d4p1:IsPlayer>
        <d4p1:IsSkip>true</d4p1:IsSkip>
        <d4p1:Name>sample string 2</d4p1:Name>
        <d4p1:Number>1</d4p1:Number>
        <d4p1:ShortName>sample string 5</d4p1:ShortName>
      </Position>
    </PercentagePersonData>
  </People>
</PercentagesReportData>