GET api/Rankings?categoryId={categoryId}&associationId={associationId}&rankingDate={rankingDate}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
categoryId

integer

Required

associationId

integer

Default value is 0

rankingDate

date

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CategoryRankings
NameDescriptionTypeAdditional information
Category

Gets or sets the category.

RankingCategory

None.

Rankings

Gets or sets the rankings.

Collection of Ranking

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Category": {
      "Id": 1,
      "Name": "sample string 2"
    },
    "Rankings": [
      {
        "RankingId": 1,
        "Annual": true,
        "Category": 3,
        "Position": 4,
        "Points": 5,
        "Association": {
          "AssociationId": 1,
          "Code": "sample string 2",
          "Name": "sample string 3",
          "FlagFileName": "sample string 4",
          "FlagFileX": 1,
          "FlagFileY": 1,
          "StartDate": "2017-12-11T19:44:54.1969415+00:00",
          "EndDate": "2017-12-11T19:44:54.1969415+00:00",
          "OfficialName": "sample string 5",
          "Links": []
        },
        "StartDate": "2017-12-11T19:44:54.1969415+00:00",
        "EndDate": "2017-12-11T19:44:54.1969415+00:00"
      },
      {
        "RankingId": 1,
        "Annual": true,
        "Category": 3,
        "Position": 4,
        "Points": 5,
        "Association": {
          "AssociationId": 1,
          "Code": "sample string 2",
          "Name": "sample string 3",
          "FlagFileName": "sample string 4",
          "FlagFileX": 1,
          "FlagFileY": 1,
          "StartDate": "2017-12-11T19:44:54.1969415+00:00",
          "EndDate": "2017-12-11T19:44:54.1969415+00:00",
          "OfficialName": "sample string 5",
          "Links": []
        },
        "StartDate": "2017-12-11T19:44:54.1969415+00:00",
        "EndDate": "2017-12-11T19:44:54.1969415+00:00"
      }
    ]
  },
  {
    "Category": {
      "Id": 1,
      "Name": "sample string 2"
    },
    "Rankings": [
      {
        "RankingId": 1,
        "Annual": true,
        "Category": 3,
        "Position": 4,
        "Points": 5,
        "Association": {
          "AssociationId": 1,
          "Code": "sample string 2",
          "Name": "sample string 3",
          "FlagFileName": "sample string 4",
          "FlagFileX": 1,
          "FlagFileY": 1,
          "StartDate": "2017-12-11T19:44:54.1969415+00:00",
          "EndDate": "2017-12-11T19:44:54.1969415+00:00",
          "OfficialName": "sample string 5",
          "Links": []
        },
        "StartDate": "2017-12-11T19:44:54.1969415+00:00",
        "EndDate": "2017-12-11T19:44:54.1969415+00:00"
      },
      {
        "RankingId": 1,
        "Annual": true,
        "Category": 3,
        "Position": 4,
        "Points": 5,
        "Association": {
          "AssociationId": 1,
          "Code": "sample string 2",
          "Name": "sample string 3",
          "FlagFileName": "sample string 4",
          "FlagFileX": 1,
          "FlagFileY": 1,
          "StartDate": "2017-12-11T19:44:54.1969415+00:00",
          "EndDate": "2017-12-11T19:44:54.1969415+00:00",
          "OfficialName": "sample string 5",
          "Links": []
        },
        "StartDate": "2017-12-11T19:44:54.1969415+00:00",
        "EndDate": "2017-12-11T19:44:54.1969415+00:00"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfCategoryRankings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WCF.Statistics.Entities">
  <CategoryRankings>
    <Category>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </Category>
    <Rankings>
      <Ranking>
        <Annual>true</Annual>
        <Association xmlns:d5p1="http://worldcurling.org/statistics/data/association">
          <Links xmlns:d6p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
          <d5p1:AssociationId>1</d5p1:AssociationId>
          <d5p1:Code>sample string 2</d5p1:Code>
          <d5p1:EndDate>2017-12-11T19:44:54.1969415+00:00</d5p1:EndDate>
          <d5p1:FlagFileName>sample string 4</d5p1:FlagFileName>
          <d5p1:FlagFileX>1</d5p1:FlagFileX>
          <d5p1:FlagFileY>1</d5p1:FlagFileY>
          <d5p1:Name>sample string 3</d5p1:Name>
          <d5p1:OfficialName>sample string 5</d5p1:OfficialName>
          <d5p1:StartDate>2017-12-11T19:44:54.1969415+00:00</d5p1:StartDate>
        </Association>
        <Category>3</Category>
        <EndDate>2017-12-11T19:44:54.1969415+00:00</EndDate>
        <Points>5</Points>
        <Position>4</Position>
        <RankingId>1</RankingId>
        <StartDate>2017-12-11T19:44:54.1969415+00:00</StartDate>
      </Ranking>
      <Ranking>
        <Annual>true</Annual>
        <Association xmlns:d5p1="http://worldcurling.org/statistics/data/association">
          <Links xmlns:d6p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
          <d5p1:AssociationId>1</d5p1:AssociationId>
          <d5p1:Code>sample string 2</d5p1:Code>
          <d5p1:EndDate>2017-12-11T19:44:54.1969415+00:00</d5p1:EndDate>
          <d5p1:FlagFileName>sample string 4</d5p1:FlagFileName>
          <d5p1:FlagFileX>1</d5p1:FlagFileX>
          <d5p1:FlagFileY>1</d5p1:FlagFileY>
          <d5p1:Name>sample string 3</d5p1:Name>
          <d5p1:OfficialName>sample string 5</d5p1:OfficialName>
          <d5p1:StartDate>2017-12-11T19:44:54.1969415+00:00</d5p1:StartDate>
        </Association>
        <Category>3</Category>
        <EndDate>2017-12-11T19:44:54.1969415+00:00</EndDate>
        <Points>5</Points>
        <Position>4</Position>
        <RankingId>1</RankingId>
        <StartDate>2017-12-11T19:44:54.1969415+00:00</StartDate>
      </Ranking>
    </Rankings>
  </CategoryRankings>
  <CategoryRankings>
    <Category>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </Category>
    <Rankings>
      <Ranking>
        <Annual>true</Annual>
        <Association xmlns:d5p1="http://worldcurling.org/statistics/data/association">
          <Links xmlns:d6p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
          <d5p1:AssociationId>1</d5p1:AssociationId>
          <d5p1:Code>sample string 2</d5p1:Code>
          <d5p1:EndDate>2017-12-11T19:44:54.1969415+00:00</d5p1:EndDate>
          <d5p1:FlagFileName>sample string 4</d5p1:FlagFileName>
          <d5p1:FlagFileX>1</d5p1:FlagFileX>
          <d5p1:FlagFileY>1</d5p1:FlagFileY>
          <d5p1:Name>sample string 3</d5p1:Name>
          <d5p1:OfficialName>sample string 5</d5p1:OfficialName>
          <d5p1:StartDate>2017-12-11T19:44:54.1969415+00:00</d5p1:StartDate>
        </Association>
        <Category>3</Category>
        <EndDate>2017-12-11T19:44:54.1969415+00:00</EndDate>
        <Points>5</Points>
        <Position>4</Position>
        <RankingId>1</RankingId>
        <StartDate>2017-12-11T19:44:54.1969415+00:00</StartDate>
      </Ranking>
      <Ranking>
        <Annual>true</Annual>
        <Association xmlns:d5p1="http://worldcurling.org/statistics/data/association">
          <Links xmlns:d6p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
          <d5p1:AssociationId>1</d5p1:AssociationId>
          <d5p1:Code>sample string 2</d5p1:Code>
          <d5p1:EndDate>2017-12-11T19:44:54.1969415+00:00</d5p1:EndDate>
          <d5p1:FlagFileName>sample string 4</d5p1:FlagFileName>
          <d5p1:FlagFileX>1</d5p1:FlagFileX>
          <d5p1:FlagFileY>1</d5p1:FlagFileY>
          <d5p1:Name>sample string 3</d5p1:Name>
          <d5p1:OfficialName>sample string 5</d5p1:OfficialName>
          <d5p1:StartDate>2017-12-11T19:44:54.1969415+00:00</d5p1:StartDate>
        </Association>
        <Category>3</Category>
        <EndDate>2017-12-11T19:44:54.1969415+00:00</EndDate>
        <Points>5</Points>
        <Position>4</Position>
        <RankingId>1</RankingId>
        <StartDate>2017-12-11T19:44:54.1969415+00:00</StartDate>
      </Ranking>
    </Rankings>
  </CategoryRankings>
</ArrayOfCategoryRankings>