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 https://exposureevents.com/api/v1/venues

Parameters

Name Type Default Required Description
Sport enumeration The sport of the venue.
Id integer The venue id.
{
  "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
    },
    "Locations": [
      {
        "Sport": 0,
        "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>
    <Id>68</Id>
    <Locations>
      <Location>
        <Abbr>MN</Abbr>
        <Name>Main</Name>
        <Sport>0</Sport>
      </Location>
    </Locations>
    <Name>Exposure High School</Name>
  </Venue>
</Response>

Venues

Retrieves a list of active venues or event venues.

Endpoint

GET https://exposureevents.com/api/v1/venues

Parameters

Name Type Default Required Description
Sport enumeration The sport of the venue.
EventId integer The event id of the venue.
{
  "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
      },
      "Locations": [
        {
          "Sport": 0,
          "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>
      <Id>68</Id>
      <Locations>
        <Location>
          <Abbr>MN</Abbr>
          <Name>Main</Name>
          <Sport>0</Sport>
        </Location>
      </Locations>
      <Name>Exposure High School</Name>
    </Venue>
  </Venues>
</Response>
EVENT, TOURNAMENT AND LEAGUE MARKETING Market your event now! Submit Event