GET api/Reports/AllTimeRecord/{tournamentTypeId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tournamentTypeId

integer

Required

Body Parameters

None.

Response Information

Resource Description

AllTimeRecordReport
NameDescriptionTypeAdditional information
Type

Gets or sets the tournament type.

TournamentType

None.

Data

Gets or sets the data for one competition class.

Collection of AllTimeRecordData

None.

Response Formats

application/json, text/json

Sample:
{
  "Type": {
    "Type": 1,
    "Name": "sample string 2",
    "Code": "sample string 3",
    "IsActive": true,
    "ZoneType": 0,
    "Ends": 1,
    "SortOrder": 1,
    "Links": []
  },
  "Data": [
    {
      "Class": {
        "Id": 1,
        "Name": "sample string 2"
      },
      "Data": [
        {
          "Association": {
            "AssociationId": 1,
            "Code": "sample string 2",
            "Name": "sample string 3",
            "FlagFileName": "sample string 4",
            "FlagFileX": 1,
            "FlagFileY": 1,
            "StartDate": "2017-04-21T05:08:53.2034825+00:00",
            "EndDate": "2017-04-21T05:08:53.2034825+00:00",
            "OfficialName": "sample string 5",
            "Links": []
          },
          "Appearances": 1,
          "RoundRobinWins": 2,
          "RoundRobinLosses": 3,
          "TournamentWins": 4,
          "TournamentLosses": 5
        },
        {
          "Association": {
            "AssociationId": 1,
            "Code": "sample string 2",
            "Name": "sample string 3",
            "FlagFileName": "sample string 4",
            "FlagFileX": 1,
            "FlagFileY": 1,
            "StartDate": "2017-04-21T05:08:53.2034825+00:00",
            "EndDate": "2017-04-21T05:08:53.2034825+00:00",
            "OfficialName": "sample string 5",
            "Links": []
          },
          "Appearances": 1,
          "RoundRobinWins": 2,
          "RoundRobinLosses": 3,
          "TournamentWins": 4,
          "TournamentLosses": 5
        }
      ]
    },
    {
      "Class": {
        "Id": 1,
        "Name": "sample string 2"
      },
      "Data": [
        {
          "Association": {
            "AssociationId": 1,
            "Code": "sample string 2",
            "Name": "sample string 3",
            "FlagFileName": "sample string 4",
            "FlagFileX": 1,
            "FlagFileY": 1,
            "StartDate": "2017-04-21T05:08:53.2034825+00:00",
            "EndDate": "2017-04-21T05:08:53.2034825+00:00",
            "OfficialName": "sample string 5",
            "Links": []
          },
          "Appearances": 1,
          "RoundRobinWins": 2,
          "RoundRobinLosses": 3,
          "TournamentWins": 4,
          "TournamentLosses": 5
        },
        {
          "Association": {
            "AssociationId": 1,
            "Code": "sample string 2",
            "Name": "sample string 3",
            "FlagFileName": "sample string 4",
            "FlagFileX": 1,
            "FlagFileY": 1,
            "StartDate": "2017-04-21T05:08:53.2034825+00:00",
            "EndDate": "2017-04-21T05:08:53.2034825+00:00",
            "OfficialName": "sample string 5",
            "Links": []
          },
          "Appearances": 1,
          "RoundRobinWins": 2,
          "RoundRobinLosses": 3,
          "TournamentWins": 4,
          "TournamentLosses": 5
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<AllTimeRecordReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WCF.Statistics.Entities.Reports">
  <Data>
    <AllTimeRecordData>
      <Class xmlns:d4p1="http://worldcurling.org/statistics/data/competitionclass">
        <d4p1:Id>1</d4p1:Id>
        <d4p1:Name>sample string 2</d4p1:Name>
      </Class>
      <Data>
        <AllTimeDetailsData>
          <Appearances>1</Appearances>
          <Association 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-04-21T05:08:53.2034825+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-04-21T05:08:53.2034825+00:00</d6p1:StartDate>
          </Association>
          <RoundRobinLosses>3</RoundRobinLosses>
          <RoundRobinWins>2</RoundRobinWins>
          <TournamentLosses>5</TournamentLosses>
          <TournamentWins>4</TournamentWins>
        </AllTimeDetailsData>
        <AllTimeDetailsData>
          <Appearances>1</Appearances>
          <Association 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-04-21T05:08:53.2034825+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-04-21T05:08:53.2034825+00:00</d6p1:StartDate>
          </Association>
          <RoundRobinLosses>3</RoundRobinLosses>
          <RoundRobinWins>2</RoundRobinWins>
          <TournamentLosses>5</TournamentLosses>
          <TournamentWins>4</TournamentWins>
        </AllTimeDetailsData>
      </Data>
    </AllTimeRecordData>
    <AllTimeRecordData>
      <Class xmlns:d4p1="http://worldcurling.org/statistics/data/competitionclass">
        <d4p1:Id>1</d4p1:Id>
        <d4p1:Name>sample string 2</d4p1:Name>
      </Class>
      <Data>
        <AllTimeDetailsData>
          <Appearances>1</Appearances>
          <Association 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-04-21T05:08:53.2034825+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-04-21T05:08:53.2034825+00:00</d6p1:StartDate>
          </Association>
          <RoundRobinLosses>3</RoundRobinLosses>
          <RoundRobinWins>2</RoundRobinWins>
          <TournamentLosses>5</TournamentLosses>
          <TournamentWins>4</TournamentWins>
        </AllTimeDetailsData>
        <AllTimeDetailsData>
          <Appearances>1</Appearances>
          <Association 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-04-21T05:08:53.2034825+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-04-21T05:08:53.2034825+00:00</d6p1:StartDate>
          </Association>
          <RoundRobinLosses>3</RoundRobinLosses>
          <RoundRobinWins>2</RoundRobinWins>
          <TournamentLosses>5</TournamentLosses>
          <TournamentWins>4</TournamentWins>
        </AllTimeDetailsData>
      </Data>
    </AllTimeRecordData>
  </Data>
  <Type xmlns:d2p1="http://worldcurling.org/statistics/data/tournamenttype">
    <Links xmlns:d3p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
    <d2p1:Code>sample string 3</d2p1:Code>
    <d2p1:Ends>1</d2p1:Ends>
    <d2p1:IsActive>true</d2p1:IsActive>
    <d2p1:Name>sample string 2</d2p1:Name>
    <d2p1:SortOrder>1</d2p1:SortOrder>
    <d2p1:Type>1</d2p1:Type>
    <d2p1:ZoneType>All</d2p1:ZoneType>
  </Type>
</AllTimeRecordReport>