GET api/Tidbits/TournamentAges/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

TidbitTournamentAgesReport
NameDescriptionTypeAdditional information
PlayersWithAge

integer

None.

TotalPlayers

integer

None.

Players

Collection of TidbitTournamentAgesReportData

None.

Response Formats

application/json, text/json

Sample:
{
  "PlayersWithAge": 1,
  "TotalPlayers": 2,
  "Players": [
    {
      "Person": {
        "FirstName": "sample string 1",
        "Initial": "sample string 2",
        "PersonId": 3,
        "SurName": "sample string 4",
        "Links": []
      },
      "Association": {
        "AssociationId": 1,
        "Code": "sample string 2",
        "Name": "sample string 3",
        "FlagFileName": "sample string 4",
        "FlagFileX": 1,
        "FlagFileY": 1,
        "StartDate": "2017-08-16T16:28:56.4106138+00:00",
        "EndDate": "2017-08-16T16:28:56.4106138+00:00",
        "OfficialName": "sample string 5",
        "Links": []
      },
      "Position": {
        "Number": 1,
        "Name": "sample string 2",
        "IsSkip": true,
        "IsPlayer": true,
        "ShortName": "sample string 5"
      },
      "BirthDate": "2017-08-16T16:28:56.4106138+00:00",
      "Years": 1,
      "Months": 2
    },
    {
      "Person": {
        "FirstName": "sample string 1",
        "Initial": "sample string 2",
        "PersonId": 3,
        "SurName": "sample string 4",
        "Links": []
      },
      "Association": {
        "AssociationId": 1,
        "Code": "sample string 2",
        "Name": "sample string 3",
        "FlagFileName": "sample string 4",
        "FlagFileX": 1,
        "FlagFileY": 1,
        "StartDate": "2017-08-16T16:28:56.4106138+00:00",
        "EndDate": "2017-08-16T16:28:56.4106138+00:00",
        "OfficialName": "sample string 5",
        "Links": []
      },
      "Position": {
        "Number": 1,
        "Name": "sample string 2",
        "IsSkip": true,
        "IsPlayer": true,
        "ShortName": "sample string 5"
      },
      "BirthDate": "2017-08-16T16:28:56.4106138+00:00",
      "Years": 1,
      "Months": 2
    }
  ]
}

application/xml, text/xml

Sample:
<TidbitTournamentAgesReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WCF.Statistics.Entities.Tidbits">
  <Players>
    <TidbitTournamentAgesReportData>
      <Association 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>2017-08-16T16:28:56.4106138+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>2017-08-16T16:28:56.4106138+00:00</d4p1:StartDate>
      </Association>
      <BirthDate>2017-08-16T16:28:56.4106138+00:00</BirthDate>
      <Months>2</Months>
      <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>
      <Years>1</Years>
    </TidbitTournamentAgesReportData>
    <TidbitTournamentAgesReportData>
      <Association 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>2017-08-16T16:28:56.4106138+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>2017-08-16T16:28:56.4106138+00:00</d4p1:StartDate>
      </Association>
      <BirthDate>2017-08-16T16:28:56.4106138+00:00</BirthDate>
      <Months>2</Months>
      <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>
      <Years>1</Years>
    </TidbitTournamentAgesReportData>
  </Players>
  <PlayersWithAge>1</PlayersWithAge>
  <TotalPlayers>2</TotalPlayers>
</TidbitTournamentAgesReport>