GET api/Clubs/Association/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Club
NameDescriptionTypeAdditional information
Id

Gets or sets the id.

integer

None.

Name

Gets or sets the name of the club.

string

Required

AssociationData

Gets or sets the association to which the club belongs

Association

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "AssociationData": {
      "AssociationId": 1,
      "Code": "sample string 2",
      "Name": "sample string 3",
      "FlagFileName": "sample string 4",
      "FlagFileX": 1,
      "FlagFileY": 1,
      "StartDate": "2017-03-17T07:40:26.6801814+00:00",
      "EndDate": "2017-03-17T07:40:26.6801814+00:00",
      "OfficialName": "sample string 5",
      "Links": []
    }
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "AssociationData": {
      "AssociationId": 1,
      "Code": "sample string 2",
      "Name": "sample string 3",
      "FlagFileName": "sample string 4",
      "FlagFileX": 1,
      "FlagFileY": 1,
      "StartDate": "2017-03-17T07:40:26.6801814+00:00",
      "EndDate": "2017-03-17T07:40:26.6801814+00:00",
      "OfficialName": "sample string 5",
      "Links": []
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfClub xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://worldcurling.org/statistics/data/club">
  <Club>
    <AssociationData xmlns:d3p1="http://worldcurling.org/statistics/data/association">
      <Links xmlns:d4p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
      <d3p1:AssociationId>1</d3p1:AssociationId>
      <d3p1:Code>sample string 2</d3p1:Code>
      <d3p1:EndDate>2017-03-17T07:40:26.6801814+00:00</d3p1:EndDate>
      <d3p1:FlagFileName>sample string 4</d3p1:FlagFileName>
      <d3p1:FlagFileX>1</d3p1:FlagFileX>
      <d3p1:FlagFileY>1</d3p1:FlagFileY>
      <d3p1:Name>sample string 3</d3p1:Name>
      <d3p1:OfficialName>sample string 5</d3p1:OfficialName>
      <d3p1:StartDate>2017-03-17T07:40:26.6801814+00:00</d3p1:StartDate>
    </AssociationData>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </Club>
  <Club>
    <AssociationData xmlns:d3p1="http://worldcurling.org/statistics/data/association">
      <Links xmlns:d4p1="http://worldcurling.org/statistics/api/entitylink" xmlns="http://worldcurling.org/statistics/api/Resource" />
      <d3p1:AssociationId>1</d3p1:AssociationId>
      <d3p1:Code>sample string 2</d3p1:Code>
      <d3p1:EndDate>2017-03-17T07:40:26.6801814+00:00</d3p1:EndDate>
      <d3p1:FlagFileName>sample string 4</d3p1:FlagFileName>
      <d3p1:FlagFileX>1</d3p1:FlagFileX>
      <d3p1:FlagFileY>1</d3p1:FlagFileY>
      <d3p1:Name>sample string 3</d3p1:Name>
      <d3p1:OfficialName>sample string 5</d3p1:OfficialName>
      <d3p1:StartDate>2017-03-17T07:40:26.6801814+00:00</d3p1:StartDate>
    </AssociationData>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </Club>
</ArrayOfClub>