GET api/Reports/TopScorers/{tournamentId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tournamentId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of TopScorersReportData
NameDescriptionTypeAdditional information
Person

Gets or sets the personal data.

PersonKeyData

None.

AssociationData

Gets or sets the association data.

Association

None.

Score

Gets or sets the score.

decimal number

None.

Opponent

Gets or sets the game opponent.

Association

None.

Draw

Gets or sets the draw type.

DrawType

None.

OwnTotal

Gets or sets the game score for the player's team.

integer

None.

OpponentTotal

Gets or sets the game score for the opponent.

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Person": {
      "FirstName": "sample string 1",
      "Initial": "sample string 2",
      "PersonId": 3,
      "SurName": "sample string 4",
      "Links": []
    },
    "AssociationData": {
      "AssociationId": 1,
      "Code": "sample string 2",
      "Name": "sample string 3",
      "FlagFileName": "sample string 4",
      "FlagFileX": 1,
      "FlagFileY": 1,
      "StartDate": "2017-12-12T15:45:08.717571+00:00",
      "EndDate": "2017-12-12T15:45:08.717571+00:00",
      "OfficialName": "sample string 5",
      "Links": []
    },
    "Score": 1.0,
    "Opponent": {
      "AssociationId": 1,
      "Code": "sample string 2",
      "Name": "sample string 3",
      "FlagFileName": "sample string 4",
      "FlagFileX": 1,
      "FlagFileY": 1,
      "StartDate": "2017-12-12T15:45:08.717571+00:00",
      "EndDate": "2017-12-12T15:45:08.717571+00:00",
      "OfficialName": "sample string 5",
      "Links": []
    },
    "Draw": {
      "Id": 1,
      "DrawNumber": 2,
      "Name": "sample string 3",
      "GameType": 0,
      "Abbreviation": "sample string 4",
      "OdfId": "sample string 5"
    },
    "OwnTotal": 1,
    "OpponentTotal": 2
  },
  {
    "Person": {
      "FirstName": "sample string 1",
      "Initial": "sample string 2",
      "PersonId": 3,
      "SurName": "sample string 4",
      "Links": []
    },
    "AssociationData": {
      "AssociationId": 1,
      "Code": "sample string 2",
      "Name": "sample string 3",
      "FlagFileName": "sample string 4",
      "FlagFileX": 1,
      "FlagFileY": 1,
      "StartDate": "2017-12-12T15:45:08.717571+00:00",
      "EndDate": "2017-12-12T15:45:08.717571+00:00",
      "OfficialName": "sample string 5",
      "Links": []
    },
    "Score": 1.0,
    "Opponent": {
      "AssociationId": 1,
      "Code": "sample string 2",
      "Name": "sample string 3",
      "FlagFileName": "sample string 4",
      "FlagFileX": 1,
      "FlagFileY": 1,
      "StartDate": "2017-12-12T15:45:08.717571+00:00",
      "EndDate": "2017-12-12T15:45:08.717571+00:00",
      "OfficialName": "sample string 5",
      "Links": []
    },
    "Draw": {
      "Id": 1,
      "DrawNumber": 2,
      "Name": "sample string 3",
      "GameType": 0,
      "Abbreviation": "sample string 4",
      "OdfId": "sample string 5"
    },
    "OwnTotal": 1,
    "OpponentTotal": 2
  }
]

application/xml, text/xml

Sample:
<ArrayOfTopScorersReportData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WCF.Statistics.Entities.Reports">
  <TopScorersReportData>
    <AssociationData xmlns:d3p1="http://worldcurling.org/statistics/data/association">
      <Links xmlns:d4p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
      <d3p1:AssociationId>1</d3p1:AssociationId>
      <d3p1:Code>sample string 2</d3p1:Code>
      <d3p1:EndDate>2017-12-12T15:45:08.717571+00:00</d3p1:EndDate>
      <d3p1:FlagFileName>sample string 4</d3p1:FlagFileName>
      <d3p1:FlagFileX>1</d3p1:FlagFileX>
      <d3p1:FlagFileY>1</d3p1:FlagFileY>
      <d3p1:Name>sample string 3</d3p1:Name>
      <d3p1:OfficialName>sample string 5</d3p1:OfficialName>
      <d3p1:StartDate>2017-12-12T15:45:08.717571+00:00</d3p1:StartDate>
    </AssociationData>
    <Draw xmlns:d3p1="http://worldcurling.org/statistics/data/drawtype">
      <d3p1:Abbreviation>sample string 4</d3p1:Abbreviation>
      <d3p1:DrawNumber>2</d3p1:DrawNumber>
      <d3p1:GameType>Roundrobin</d3p1:GameType>
      <d3p1:Id>1</d3p1:Id>
      <d3p1:Name>sample string 3</d3p1:Name>
      <d3p1:OdfId>sample string 5</d3p1:OdfId>
    </Draw>
    <Opponent xmlns:d3p1="http://worldcurling.org/statistics/data/association">
      <Links xmlns:d4p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
      <d3p1:AssociationId>1</d3p1:AssociationId>
      <d3p1:Code>sample string 2</d3p1:Code>
      <d3p1:EndDate>2017-12-12T15:45:08.717571+00:00</d3p1:EndDate>
      <d3p1:FlagFileName>sample string 4</d3p1:FlagFileName>
      <d3p1:FlagFileX>1</d3p1:FlagFileX>
      <d3p1:FlagFileY>1</d3p1:FlagFileY>
      <d3p1:Name>sample string 3</d3p1:Name>
      <d3p1:OfficialName>sample string 5</d3p1:OfficialName>
      <d3p1:StartDate>2017-12-12T15:45:08.717571+00:00</d3p1:StartDate>
    </Opponent>
    <OpponentTotal>2</OpponentTotal>
    <OwnTotal>1</OwnTotal>
    <Person xmlns:d3p1="http://worldcurling.org/statistics/data/personkeydata">
      <Links xmlns:d4p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
      <d3p1:FirstName>sample string 1</d3p1:FirstName>
      <d3p1:Initial>sample string 2</d3p1:Initial>
      <d3p1:PersonId>3</d3p1:PersonId>
      <d3p1:SurName>sample string 4</d3p1:SurName>
    </Person>
    <Score>1</Score>
  </TopScorersReportData>
  <TopScorersReportData>
    <AssociationData xmlns:d3p1="http://worldcurling.org/statistics/data/association">
      <Links xmlns:d4p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
      <d3p1:AssociationId>1</d3p1:AssociationId>
      <d3p1:Code>sample string 2</d3p1:Code>
      <d3p1:EndDate>2017-12-12T15:45:08.717571+00:00</d3p1:EndDate>
      <d3p1:FlagFileName>sample string 4</d3p1:FlagFileName>
      <d3p1:FlagFileX>1</d3p1:FlagFileX>
      <d3p1:FlagFileY>1</d3p1:FlagFileY>
      <d3p1:Name>sample string 3</d3p1:Name>
      <d3p1:OfficialName>sample string 5</d3p1:OfficialName>
      <d3p1:StartDate>2017-12-12T15:45:08.717571+00:00</d3p1:StartDate>
    </AssociationData>
    <Draw xmlns:d3p1="http://worldcurling.org/statistics/data/drawtype">
      <d3p1:Abbreviation>sample string 4</d3p1:Abbreviation>
      <d3p1:DrawNumber>2</d3p1:DrawNumber>
      <d3p1:GameType>Roundrobin</d3p1:GameType>
      <d3p1:Id>1</d3p1:Id>
      <d3p1:Name>sample string 3</d3p1:Name>
      <d3p1:OdfId>sample string 5</d3p1:OdfId>
    </Draw>
    <Opponent xmlns:d3p1="http://worldcurling.org/statistics/data/association">
      <Links xmlns:d4p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
      <d3p1:AssociationId>1</d3p1:AssociationId>
      <d3p1:Code>sample string 2</d3p1:Code>
      <d3p1:EndDate>2017-12-12T15:45:08.717571+00:00</d3p1:EndDate>
      <d3p1:FlagFileName>sample string 4</d3p1:FlagFileName>
      <d3p1:FlagFileX>1</d3p1:FlagFileX>
      <d3p1:FlagFileY>1</d3p1:FlagFileY>
      <d3p1:Name>sample string 3</d3p1:Name>
      <d3p1:OfficialName>sample string 5</d3p1:OfficialName>
      <d3p1:StartDate>2017-12-12T15:45:08.717571+00:00</d3p1:StartDate>
    </Opponent>
    <OpponentTotal>2</OpponentTotal>
    <OwnTotal>1</OwnTotal>
    <Person xmlns:d3p1="http://worldcurling.org/statistics/data/personkeydata">
      <Links xmlns:d4p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
      <d3p1:FirstName>sample string 1</d3p1:FirstName>
      <d3p1:Initial>sample string 2</d3p1:Initial>
      <d3p1:PersonId>3</d3p1:PersonId>
      <d3p1:SurName>sample string 4</d3p1:SurName>
    </Person>
    <Score>1</Score>
  </TopScorersReportData>
</ArrayOfTopScorersReportData>