GET api/Reports/AssociationRanking/{associationId}

Ranking report for a specific association

Request Information

URI Parameters

NameDescriptionTypeAdditional information
associationId

The association identifier.

integer

Required

Body Parameters

None.

Response Information

Resource Description

An record.

AssociationRankingsReport
NameDescriptionTypeAdditional information
Categories

Gets or sets the 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>