GET api/LeisureClubs

This returns all clubs

Response Information

list of leisure clubs

Response body formats

text/html

Sample:
<div class="input-group">
    <span class="input-group-addon">Filter</span>
    <input id="filter" type="text" class="form-control" placeholder="Filter..." />
</div>
<table class="hdc-table table default" data-filter="#filter">
    <thead>
        <tr>
            <th data-toggle="true" class="footable-first-column">
                Club Name
            </th>
            <th data-hide="phone,tablet">
                Contact Name
            </th>
            <th>
                Telephone Number
            </th>
            <th data-hide="phone,tablet">
                Web Address
            </th>
            <th data-hide="phone,tablet">
                Email Address
            </th>
            <th data-hide="phone">
                One Leisure Site
            </th>
        </tr>
    </thead>
    <tbody>
            <tr>
                <td>
                    sample string 2
                </td>
                <td>
                    sample string 3
                </td>
                <td>
                    sample string 4
                </td>
                <td class="hyperlink">
                    <a href="sample string 5">sample string 5</a>
                </td>
                <td>
                    <a href="mailto:sample string 6">sample string 6</a></td>
                <td>
                    sample string 7
                </td>
            </tr>
            <tr>
                <td>
                    sample string 2
                </td>
                <td>
                    sample string 3
                </td>
                <td>
                    sample string 4
                </td>
                <td class="hyperlink">
                    <a href="sample string 5">sample string 5</a>
                </td>
                <td>
                    <a href="mailto:sample string 6">sample string 6</a></td>
                <td>
                    sample string 7
                </td>
            </tr>
            <tr>
                <td>
                    sample string 2
                </td>
                <td>
                    sample string 3
                </td>
                <td>
                    sample string 4
                </td>
                <td class="hyperlink">
                    <a href="sample string 5">sample string 5</a>
                </td>
                <td>
                    <a href="mailto:sample string 6">sample string 6</a></td>
                <td>
                    sample string 7
                </td>
            </tr>
    </tbody>
    <tfoot class="hide-if-no-paging">
        <tr>
            <td colspan="6">
                <ul class="pagination pagination-centered hide-if-no-paging"></ul>
            </td>
        </tr>
    </tfoot>
</table>


application/json, text/json

Sample:
[
  {
    "id": 1,
    "club_Name": "sample string 2",
    "contact_Name": "sample string 3",
    "telephone_Number": "sample string 4",
    "web_Address": "sample string 5",
    "email_Address": "sample string 6",
    "one_Leisure_Site": "sample string 7"
  },
  {
    "id": 1,
    "club_Name": "sample string 2",
    "contact_Name": "sample string 3",
    "telephone_Number": "sample string 4",
    "web_Address": "sample string 5",
    "email_Address": "sample string 6",
    "one_Leisure_Site": "sample string 7"
  },
  {
    "id": 1,
    "club_Name": "sample string 2",
    "contact_Name": "sample string 3",
    "telephone_Number": "sample string 4",
    "web_Address": "sample string 5",
    "email_Address": "sample string 6",
    "one_Leisure_Site": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLeisure_Club xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HDCAPIModel.Models">
  <Leisure_Club>
    <Club_Name>sample string 2</Club_Name>
    <Contact_Name>sample string 3</Contact_Name>
    <Email_Address>sample string 6</Email_Address>
    <ID>1</ID>
    <One_Leisure_Site>sample string 7</One_Leisure_Site>
    <Telephone_Number>sample string 4</Telephone_Number>
    <Web_Address>sample string 5</Web_Address>
  </Leisure_Club>
  <Leisure_Club>
    <Club_Name>sample string 2</Club_Name>
    <Contact_Name>sample string 3</Contact_Name>
    <Email_Address>sample string 6</Email_Address>
    <ID>1</ID>
    <One_Leisure_Site>sample string 7</One_Leisure_Site>
    <Telephone_Number>sample string 4</Telephone_Number>
    <Web_Address>sample string 5</Web_Address>
  </Leisure_Club>
  <Leisure_Club>
    <Club_Name>sample string 2</Club_Name>
    <Contact_Name>sample string 3</Contact_Name>
    <Email_Address>sample string 6</Email_Address>
    <ID>1</ID>
    <One_Leisure_Site>sample string 7</One_Leisure_Site>
    <Telephone_Number>sample string 4</Telephone_Number>
    <Web_Address>sample string 5</Web_Address>
  </Leisure_Club>
</ArrayOfLeisure_Club>

text/javascript

Sample:
([{"id":1,"club_Name":"sample string 2","contact_Name":"sample string 3","telephone_Number":"sample string 4","web_Address":"sample string 5","email_Address":"sample string 6","one_Leisure_Site":"sample string 7"},{"id":1,"club_Name":"sample string 2","contact_Name":"sample string 3","telephone_Number":"sample string 4","web_Address":"sample string 5","email_Address":"sample string 6","one_Leisure_Site":"sample string 7"},{"id":1,"club_Name":"sample string 2","contact_Name":"sample string 3","telephone_Number":"sample string 4","web_Address":"sample string 5","email_Address":"sample string 6","one_Leisure_Site":"sample string 7"}]);