GET api/Reports/AssociationRanking/{associationId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
associationId

integer

Required

Body Parameters

None.

Response Information

Resource Description

AssociationRankingsReport
NameDescriptionTypeAdditional information
Categories

Collection of AssociationRankingsReportCategories

None.

Response Formats

application/json, text/json

Sample:
{
  "Categories": [
    {
      "RankingData": [
        {
          "Year": 1,
          "Ranking": 1,
          "Worlds": 1,
          "Olympics": 1,
          "Paralympics": 1
        },
        {
          "Year": 1,
          "Ranking": 1,
          "Worlds": 1,
          "Olympics": 1,
          "Paralympics": 1
        }
      ],
      "Category": {
        "Id": 1,
        "Name": "sample string 2"
      }
    },
    {
      "RankingData": [
        {
          "Year": 1,
          "Ranking": 1,
          "Worlds": 1,
          "Olympics": 1,
          "Paralympics": 1
        },
        {
          "Year": 1,
          "Ranking": 1,
          "Worlds": 1,
          "Olympics": 1,
          "Paralympics": 1
        }
      ],
      "Category": {
        "Id": 1,
        "Name": "sample string 2"
      }
    }
  ]
}

application/xml, text/xml

Sample:
<AssociationRankingsReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WCF.Statistics.Entities.Reports">
  <Categories>
    <AssociationRankingsReportCategories>
      <Category xmlns:d4p1="http://schemas.datacontract.org/2004/07/WCF.Statistics.Entities">
        <d4p1:Id>1</d4p1:Id>
        <d4p1:Name>sample string 2</d4p1:Name>
      </Category>
      <RankingData>
        <AssociationRankingsReportYearData>
          <Olympics>1</Olympics>
          <Paralympics>1</Paralympics>
          <Ranking>1</Ranking>
          <Worlds>1</Worlds>
          <Year>1</Year>
        </AssociationRankingsReportYearData>
        <AssociationRankingsReportYearData>
          <Olympics>1</Olympics>
          <Paralympics>1</Paralympics>
          <Ranking>1</Ranking>
          <Worlds>1</Worlds>
          <Year>1</Year>
        </AssociationRankingsReportYearData>
      </RankingData>
    </AssociationRankingsReportCategories>
    <AssociationRankingsReportCategories>
      <Category xmlns:d4p1="http://schemas.datacontract.org/2004/07/WCF.Statistics.Entities">
        <d4p1:Id>1</d4p1:Id>
        <d4p1:Name>sample string 2</d4p1:Name>
      </Category>
      <RankingData>
        <AssociationRankingsReportYearData>
          <Olympics>1</Olympics>
          <Paralympics>1</Paralympics>
          <Ranking>1</Ranking>
          <Worlds>1</Worlds>
          <Year>1</Year>
        </AssociationRankingsReportYearData>
        <AssociationRankingsReportYearData>
          <Olympics>1</Olympics>
          <Paralympics>1</Paralympics>
          <Ranking>1</Ranking>
          <Worlds>1</Worlds>
          <Year>1</Year>
        </AssociationRankingsReportYearData>
      </RankingData>
    </AssociationRankingsReportCategories>
  </Categories>
</AssociationRankingsReport>