GET api/bv1/Clubs/{id}

Documentation for 'GetGolfClubByID'.

Request Information

Parameters

NameDescriptionAdditional information
id
Documentation for 'id'.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "ClubID": 1,
  "ClubName": "sample string 2",
  "ClubAddress": "sample string 3",
  "ClubCity": "sample string 4",
  "StateProvID": 5,
  "ClubPostalCode": "sample string 6",
  "CountryID": 7,
  "ClubCounty": "sample string 8",
  "ClubAreaCode": "sample string 9",
  "ClubTZ": "sample string 10",
  "ClubLAT": 11.0,
  "ClubLNG": 12.0,
  "ClubPhone": "sample string 13",
  "ClubIntlPhone": "sample string 14",
  "ClubWeb": "sample string 15",
  "ClubTypeID": 16,
  "ClubImageURL": "sample string 17",
  "IsActive": true,
  "Country": {
    "CountryID": 1,
    "CountryFull": "sample string 2",
    "CountryAbrev": "sample string 3",
    "CountryFlag": "sample string 4",
    "IsActive": true,
    "Provinces": [
      {
        "StateProvID": 1,
        "StateProvAbrev": "sample string 2",
        "StateProvFull": "sample string 3",
        "IsActive": true,
        "CountryID": 1
      },
      {
        "StateProvID": 1,
        "StateProvAbrev": "sample string 2",
        "StateProvFull": "sample string 3",
        "IsActive": true,
        "CountryID": 1
      },
      {
        "StateProvID": 1,
        "StateProvAbrev": "sample string 2",
        "StateProvFull": "sample string 3",
        "IsActive": true,
        "CountryID": 1
      }
    ],
    "ProvinceCount": 5
  },
  "Province": {
    "StateProvID": 1,
    "StateProvAbrev": "sample string 2",
    "StateProvFull": "sample string 3",
    "IsActive": true,
    "CountryID": 1
  },
  "ClubType": {
    "ClubTypeID": 1,
    "ClubType": "sample string 2",
    "ClubArtURL": "sample string 3",
    "IsActive": true
  },
  "ClubDetails": [
    {
      "ClubDetailID": 1,
      "ClubHoleQty": "sample string 2",
      "ClubYrBuilt": "sample string 3",
      "ClubDesigner": "sample string 4",
      "ClubDescription": "sample string 5",
      "ClubDress": "sample string 6",
      "ClubSeason": "sample string 7",
      "ClubSpikes": true,
      "ClubGuest": true,
      "ClubHomes": true,
      "ClubFood": true,
      "ClubBar": true,
      "ClubYardMark": true,
      "ClubDrvRange": true,
      "ClubProShop": true,
      "ClubRentals": true,
      "ClubGPS": true,
      "ClubShortPractice": true,
      "ClubLockers": true,
      "ClubMembership": true,
      "ClubPro": true,
      "ClubTeeTime": true,
      "FairwayGrass": "sample string 8",
      "GreenGrass": "sample string 9",
      "ClubWaterHazard": 1,
      "ClubBunkerHazard": 1,
      "ClubID": 10
    },
    {
      "ClubDetailID": 1,
      "ClubHoleQty": "sample string 2",
      "ClubYrBuilt": "sample string 3",
      "ClubDesigner": "sample string 4",
      "ClubDescription": "sample string 5",
      "ClubDress": "sample string 6",
      "ClubSeason": "sample string 7",
      "ClubSpikes": true,
      "ClubGuest": true,
      "ClubHomes": true,
      "ClubFood": true,
      "ClubBar": true,
      "ClubYardMark": true,
      "ClubDrvRange": true,
      "ClubProShop": true,
      "ClubRentals": true,
      "ClubGPS": true,
      "ClubShortPractice": true,
      "ClubLockers": true,
      "ClubMembership": true,
      "ClubPro": true,
      "ClubTeeTime": true,
      "FairwayGrass": "sample string 8",
      "GreenGrass": "sample string 9",
      "ClubWaterHazard": 1,
      "ClubBunkerHazard": 1,
      "ClubID": 10
    },
    {
      "ClubDetailID": 1,
      "ClubHoleQty": "sample string 2",
      "ClubYrBuilt": "sample string 3",
      "ClubDesigner": "sample string 4",
      "ClubDescription": "sample string 5",
      "ClubDress": "sample string 6",
      "ClubSeason": "sample string 7",
      "ClubSpikes": true,
      "ClubGuest": true,
      "ClubHomes": true,
      "ClubFood": true,
      "ClubBar": true,
      "ClubYardMark": true,
      "ClubDrvRange": true,
      "ClubProShop": true,
      "ClubRentals": true,
      "ClubGPS": true,
      "ClubShortPractice": true,
      "ClubLockers": true,
      "ClubMembership": true,
      "ClubPro": true,
      "ClubTeeTime": true,
      "FairwayGrass": "sample string 8",
      "GreenGrass": "sample string 9",
      "ClubWaterHazard": 1,
      "ClubBunkerHazard": 1,
      "ClubID": 10
    }
  ],
  "ClubCourseUrl": "sample string 18",
  "ClubMembersUrl": "sample string 19",
  "ClubReviewsUrl": "sample string 20",
  "ClubContactsUrl": "sample string 21",
  "ClubRatesUrl": "sample string 22"
}

application/xml, text/xml

Sample:
<GolfClubDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GolfWorld.DTOModel">
  <ClubAddress>sample string 3</ClubAddress>
  <ClubAreaCode>sample string 9</ClubAreaCode>
  <ClubCity>sample string 4</ClubCity>
  <ClubContactsUrl>sample string 21</ClubContactsUrl>
  <ClubCounty>sample string 8</ClubCounty>
  <ClubCourseUrl>sample string 18</ClubCourseUrl>
  <ClubDetails>
    <ClubDetailsDTO>
      <ClubBar>true</ClubBar>
      <ClubBunkerHazard>1</ClubBunkerHazard>
      <ClubDescription>sample string 5</ClubDescription>
      <ClubDesigner>sample string 4</ClubDesigner>
      <ClubDetailID>1</ClubDetailID>
      <ClubDress>sample string 6</ClubDress>
      <ClubDrvRange>true</ClubDrvRange>
      <ClubFood>true</ClubFood>
      <ClubGPS>true</ClubGPS>
      <ClubGuest>true</ClubGuest>
      <ClubHoleQty>sample string 2</ClubHoleQty>
      <ClubHomes>true</ClubHomes>
      <ClubID>10</ClubID>
      <ClubLockers>true</ClubLockers>
      <ClubMembership>true</ClubMembership>
      <ClubPro>true</ClubPro>
      <ClubProShop>true</ClubProShop>
      <ClubRentals>true</ClubRentals>
      <ClubSeason>sample string 7</ClubSeason>
      <ClubShortPractice>true</ClubShortPractice>
      <ClubSpikes>true</ClubSpikes>
      <ClubTeeTime>true</ClubTeeTime>
      <ClubWaterHazard>1</ClubWaterHazard>
      <ClubYardMark>true</ClubYardMark>
      <ClubYrBuilt>sample string 3</ClubYrBuilt>
      <FairwayGrass>sample string 8</FairwayGrass>
      <GreenGrass>sample string 9</GreenGrass>
    </ClubDetailsDTO>
    <ClubDetailsDTO>
      <ClubBar>true</ClubBar>
      <ClubBunkerHazard>1</ClubBunkerHazard>
      <ClubDescription>sample string 5</ClubDescription>
      <ClubDesigner>sample string 4</ClubDesigner>
      <ClubDetailID>1</ClubDetailID>
      <ClubDress>sample string 6</ClubDress>
      <ClubDrvRange>true</ClubDrvRange>
      <ClubFood>true</ClubFood>
      <ClubGPS>true</ClubGPS>
      <ClubGuest>true</ClubGuest>
      <ClubHoleQty>sample string 2</ClubHoleQty>
      <ClubHomes>true</ClubHomes>
      <ClubID>10</ClubID>
      <ClubLockers>true</ClubLockers>
      <ClubMembership>true</ClubMembership>
      <ClubPro>true</ClubPro>
      <ClubProShop>true</ClubProShop>
      <ClubRentals>true</ClubRentals>
      <ClubSeason>sample string 7</ClubSeason>
      <ClubShortPractice>true</ClubShortPractice>
      <ClubSpikes>true</ClubSpikes>
      <ClubTeeTime>true</ClubTeeTime>
      <ClubWaterHazard>1</ClubWaterHazard>
      <ClubYardMark>true</ClubYardMark>
      <ClubYrBuilt>sample string 3</ClubYrBuilt>
      <FairwayGrass>sample string 8</FairwayGrass>
      <GreenGrass>sample string 9</GreenGrass>
    </ClubDetailsDTO>
    <ClubDetailsDTO>
      <ClubBar>true</ClubBar>
      <ClubBunkerHazard>1</ClubBunkerHazard>
      <ClubDescription>sample string 5</ClubDescription>
      <ClubDesigner>sample string 4</ClubDesigner>
      <ClubDetailID>1</ClubDetailID>
      <ClubDress>sample string 6</ClubDress>
      <ClubDrvRange>true</ClubDrvRange>
      <ClubFood>true</ClubFood>
      <ClubGPS>true</ClubGPS>
      <ClubGuest>true</ClubGuest>
      <ClubHoleQty>sample string 2</ClubHoleQty>
      <ClubHomes>true</ClubHomes>
      <ClubID>10</ClubID>
      <ClubLockers>true</ClubLockers>
      <ClubMembership>true</ClubMembership>
      <ClubPro>true</ClubPro>
      <ClubProShop>true</ClubProShop>
      <ClubRentals>true</ClubRentals>
      <ClubSeason>sample string 7</ClubSeason>
      <ClubShortPractice>true</ClubShortPractice>
      <ClubSpikes>true</ClubSpikes>
      <ClubTeeTime>true</ClubTeeTime>
      <ClubWaterHazard>1</ClubWaterHazard>
      <ClubYardMark>true</ClubYardMark>
      <ClubYrBuilt>sample string 3</ClubYrBuilt>
      <FairwayGrass>sample string 8</FairwayGrass>
      <GreenGrass>sample string 9</GreenGrass>
    </ClubDetailsDTO>
  </ClubDetails>
  <ClubID>1</ClubID>
  <ClubImageURL>sample string 17</ClubImageURL>
  <ClubIntlPhone>sample string 14</ClubIntlPhone>
  <ClubLAT>11</ClubLAT>
  <ClubLNG>12</ClubLNG>
  <ClubMembersUrl>sample string 19</ClubMembersUrl>
  <ClubName>sample string 2</ClubName>
  <ClubPhone>sample string 13</ClubPhone>
  <ClubPostalCode>sample string 6</ClubPostalCode>
  <ClubRatesUrl>sample string 22</ClubRatesUrl>
  <ClubReviewsUrl>sample string 20</ClubReviewsUrl>
  <ClubTZ>sample string 10</ClubTZ>
  <ClubType>
    <ClubArtURL>sample string 3</ClubArtURL>
    <ClubType>sample string 2</ClubType>
    <ClubTypeID>1</ClubTypeID>
    <IsActive>true</IsActive>
  </ClubType>
  <ClubTypeID>16</ClubTypeID>
  <ClubWeb>sample string 15</ClubWeb>
  <Country>
    <CountryAbrev>sample string 3</CountryAbrev>
    <CountryFlag>sample string 4</CountryFlag>
    <CountryFull>sample string 2</CountryFull>
    <CountryID>1</CountryID>
    <IsActive>true</IsActive>
    <ProvinceCount>5</ProvinceCount>
    <Provinces>
      <ProvinceDTO>
        <CountryID>1</CountryID>
        <IsActive>true</IsActive>
        <StateProvAbrev>sample string 2</StateProvAbrev>
        <StateProvFull>sample string 3</StateProvFull>
        <StateProvID>1</StateProvID>
      </ProvinceDTO>
      <ProvinceDTO>
        <CountryID>1</CountryID>
        <IsActive>true</IsActive>
        <StateProvAbrev>sample string 2</StateProvAbrev>
        <StateProvFull>sample string 3</StateProvFull>
        <StateProvID>1</StateProvID>
      </ProvinceDTO>
      <ProvinceDTO>
        <CountryID>1</CountryID>
        <IsActive>true</IsActive>
        <StateProvAbrev>sample string 2</StateProvAbrev>
        <StateProvFull>sample string 3</StateProvFull>
        <StateProvID>1</StateProvID>
      </ProvinceDTO>
    </Provinces>
  </Country>
  <CountryID>7</CountryID>
  <IsActive>true</IsActive>
  <Province>
    <CountryID>1</CountryID>
    <IsActive>true</IsActive>
    <StateProvAbrev>sample string 2</StateProvAbrev>
    <StateProvFull>sample string 3</StateProvFull>
    <StateProvID>1</StateProvID>
  </Province>
  <StateProvID>5</StateProvID>
</GolfClubDTO>