API | Venues

Contains functionality to access venue details, and a list of venues or event venues.

Venue Details

Retrieves a venue's details.

Endpoint

GET http://hockey.exposureevents.com/api/v1/venues

Parameters

Name Type Default Required Description
Id integer The venue id.

Response


{
  "Venue": {
    "Id": 68,
    "Name": "Exposure High School",
    "Abbr": "EHS",
    "Address": {
      "Location": "Exposure High School",
      "StreetAddress": "3934 E Battala Avenue",
      "ExtendedAddress": "Suite 144",
      "City": "Gilbert",
      "StateRegion": "Arizona",
      "PostalCode": "85297",
      "Latitude": 36.1849073,
      "Longitude": -115.1230314
    },
    "Courts": [
      {
        "Name": "Main",
        "Abbr": "MN"
      }
    ]
  }
}


<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Venue>
    <Abbr>EHS</Abbr>
    <Address>
      <City>Gilbert</City>
      <ExtendedAddress>Suite 144</ExtendedAddress>
      <Latitude>36.1849073</Latitude>
      <Location>Exposure High School</Location>
      <Longitude>-115.1230314</Longitude>
      <PostalCode>85297</PostalCode>
      <StateRegion>Arizona</StateRegion>
      <StreetAddress>3934 E Battala Avenue</StreetAddress>
    </Address>
    <Courts>
      <Court>
        <Abbr>MN</Abbr>
        <Name>Main</Name>
      </Court>
    </Courts>
    <Id>68</Id>
    <Name>Exposure High School</Name>
  </Venue>
</Response>

Venues

Retrieves a list of active venues or event venues.

Endpoint

GET http://hockey.exposureevents.com/api/v1/venues

Parameters

Name Type Default Required Description
EventId integer The event id of the venue.

Response


{
  "Venues": [
    {
      "Id": 68,
      "Name": "Exposure High School",
      "Abbr": "EHS",
      "Address": {
        "Location": "Exposure High School",
        "StreetAddress": "3934 E Battala Avenue",
        "ExtendedAddress": "Suite 144",
        "City": "Gilbert",
        "StateRegion": "Arizona",
        "PostalCode": "85297",
        "Latitude": 36.1849073,
        "Longitude": -115.1230314
      },
      "Courts": [
        {
          "Name": "Main",
          "Abbr": "MN"
        }
      ]
    }
  ]
}


<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Venues>
    <Venue>
      <Abbr>EHS</Abbr>
      <Address>
        <City>Gilbert</City>
        <ExtendedAddress>Suite 144</ExtendedAddress>
        <Latitude>36.1849073</Latitude>
        <Location>Exposure High School</Location>
        <Longitude>-115.1230314</Longitude>
        <PostalCode>85297</PostalCode>
        <StateRegion>Arizona</StateRegion>
        <StreetAddress>3934 E Battala Avenue</StreetAddress>
      </Address>
      <Courts>
        <Court>
          <Abbr>MN</Abbr>
          <Name>Main</Name>
        </Court>
      </Courts>
      <Id>68</Id>
      <Name>Exposure High School</Name>
    </Venue>
  </Venues>
</Response>

YOUTH HOCKEY EVENT, TOURNAMENT AND LEAGUE DIRECTORY Market your event by submitting it to our directory. Submit Event