GET api/LeisureClubs/{id}
This returns a single club
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
id | The id of the club to return |
Define this parameter in the request URI. |
Response Information
single leisure club
Response body formats
text/html
Sample:
<div> <h4>Leisure Club</h4> <hr /> <dl class="dl-horizontal"> <dt> Club Name </dt> <dd> sample string 2 </dd> <dt> Contact Name </dt> <dd> sample string 3 </dd> <dt> Telephone Number </dt> <dd> sample string 4 </dd> <dt> Web Address </dt> <dd> sample string 5 </dd> <dt> Email Address </dt> <dd> sample string 6 </dd> <dt> One Leisure Site </dt> <dd> sample string 7 </dd> </dl> </div>
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" }
application/xml, text/xml
Sample:
<Leisure_Club xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HDCAPIModel.Models"> <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>
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"});