API | Bouts

Contains functionality to access bout details, retrieves a paged list of bouts by a division, team, or date, and updating bout details.

Bout Details

Retrieves a bout details.

Endpoint

GET https://wrestling.exposureevents.com/api/v1/bouts

Parameters

Name Type Default Required Description
id integer The bout id.
includes enumeration Additional data to be included in the response. Values should be separated by commas.
{
  "Bout": {
    "Id": 64,
    "Type": 1,
    "Date": "12/3/2024",
    "Time": "2:57 PM",
    "Division": {
      "Id": 120,
      "Name": "17",
      "Event": {
        "Id": 30,
        "Name": "Exposure Wrestling Events"
      }
    },
    "VenueCourt": {
      "Id": 0,
      "Court": {
        "Sport": 0,
        "Name": "Main",
        "Abbr": "MN"
      },
      "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
        }
      }
    },
    "AwayTeam": {
      "Name": "Away Team",
      "Pool": "A",
      "PoolNumber": 1,
      "Score": 57.0,
      "TeamId": 1487,
      "TeamPoolId": 55555,
      "BracketName": "Gold",
      "BracketId": 100,
      "DivisionSeed": 4,
      "Seed": 2,
      "DivisionId": 100,
      "DivisionName": "16",
      "WonBy": 1,
      "Time": "1:00",
      "Color": "000000"
    },
    "HomeTeam": {
      "Name": "Home Team",
      "Pool": "A",
      "PoolNumber": 2,
      "Score": 58.0,
      "TeamId": 1488,
      "TeamPoolId": 45464,
      "PoolSeed": 2,
      "Exhibition": true,
      "Color": "FF0000"
    },
    "BracketName": "Championship",
    "Round": 2
  }
}
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Bout>
    <AwayTeam>
      <BracketId>100</BracketId>
      <BracketName>Gold</BracketName>
      <Color>000000</Color>
      <DivisionId>100</DivisionId>
      <DivisionName>16</DivisionName>
      <DivisionSeed>4</DivisionSeed>
      <Name>Away Team</Name>
      <Pool>A</Pool>
      <PoolNumber>1</PoolNumber>
      <Score>57</Score>
      <Seed>2</Seed>
      <TeamId>1487</TeamId>
      <TeamPoolId>55555</TeamPoolId>
      <Time>1:00</Time>
      <WonBy>Decision</WonBy>
    </AwayTeam>
    <BracketName>Championship</BracketName>
    <Date>12/3/2024</Date>
    <Division>
      <Event>
        <Id>30</Id>
        <Name>Exposure Wrestling Events</Name>
      </Event>
      <Id>120</Id>
      <Name>17</Name>
    </Division>
    <HomeTeam>
      <Color>FF0000</Color>
      <Exhibition>true</Exhibition>
      <Name>Home Team</Name>
      <Pool>A</Pool>
      <PoolNumber>2</PoolNumber>
      <PoolSeed>2</PoolSeed>
      <Score>58</Score>
      <TeamId>1488</TeamId>
      <TeamPoolId>45464</TeamPoolId>
    </HomeTeam>
    <Id>64</Id>
    <Round>2</Round>
    <Time>2:57 PM</Time>
    <Type>1</Type>
    <VenueCourt>
      <Court>
        <Abbr>MN</Abbr>
        <Name>Main</Name>
        <Sport>0</Sport>
      </Court>
      <Id>0</Id>
      <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>
        <Name>Exposure High School</Name>
      </Venue>
    </VenueCourt>
  </Bout>
</Response>

Bouts

Retrieves a paged list of bouts.

Endpoint

GET https://wrestling.exposureevents.com/api/v1/bouts

Parameters

Name Type Default Required Description
page integer 1
pagesize integer 50
eventid integer The event id.
divisionid integer The division id.
teamid integer The team id.
date date The date of the bouts. The value must be in the format m/d/yyyy.
includes enumeration Additional data to be included in the response. Values should be separated by commas.
{
  "Bouts": {
    "Results": [
      {
        "Id": 64,
        "Type": 1,
        "Date": "12/3/2024",
        "Time": "2:57 PM",
        "Division": {
          "Id": 120,
          "Name": "17",
          "Event": {
            "Id": 30,
            "Name": "Exposure Wrestling Events"
          }
        },
        "VenueCourt": {
          "Id": 0,
          "Court": {
            "Sport": 0,
            "Name": "Main",
            "Abbr": "MN"
          },
          "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
            }
          }
        },
        "AwayTeam": {
          "Name": "Away Team",
          "Pool": "A",
          "PoolNumber": 1,
          "Score": 57.0,
          "TeamId": 1487,
          "TeamPoolId": 55555,
          "BracketName": "Gold",
          "BracketId": 100,
          "DivisionSeed": 4,
          "Seed": 2,
          "DivisionId": 100,
          "DivisionName": "16",
          "WonBy": 7,
          "Time": "1:00",
          "Color": "000000"
        },
        "HomeTeam": {
          "Name": "Home Team",
          "Pool": "A",
          "PoolNumber": 2,
          "Score": 58.0,
          "TeamId": 1488,
          "TeamPoolId": 45464,
          "PoolSeed": 2,
          "Exhibition": true,
          "Color": "FF0000"
        },
        "BracketName": "Championship",
        "Round": 2
      }
    ],
    "Page": 1,
    "PageSize": 50,
    "Total": 1
  }
}
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Bouts>
    <Page>1</Page>
    <PageSize>50</PageSize>
    <Results>
      <Game>
        <AwayTeam>
          <BracketId>100</BracketId>
          <BracketName>Gold</BracketName>
          <Color>000000</Color>
          <DivisionId>100</DivisionId>
          <DivisionName>16</DivisionName>
          <DivisionSeed>4</DivisionSeed>
          <Name>Away Team</Name>
          <Pool>A</Pool>
          <PoolNumber>1</PoolNumber>
          <Score>57</Score>
          <Seed>2</Seed>
          <TeamId>1487</TeamId>
          <TeamPoolId>55555</TeamPoolId>
          <Time>1:00</Time>
          <WonBy>Forfeit</WonBy>
        </AwayTeam>
        <BracketName>Championship</BracketName>
        <Date>12/3/2024</Date>
        <Division>
          <Event>
            <Id>30</Id>
            <Name>Exposure Wrestling Events</Name>
          </Event>
          <Id>120</Id>
          <Name>17</Name>
        </Division>
        <HomeTeam>
          <Color>FF0000</Color>
          <Exhibition>true</Exhibition>
          <Name>Home Team</Name>
          <Pool>A</Pool>
          <PoolNumber>2</PoolNumber>
          <PoolSeed>2</PoolSeed>
          <Score>58</Score>
          <TeamId>1488</TeamId>
          <TeamPoolId>45464</TeamPoolId>
        </HomeTeam>
        <Id>64</Id>
        <Round>2</Round>
        <Time>2:57 PM</Time>
        <Type>1</Type>
        <VenueCourt>
          <Court>
            <Abbr>MN</Abbr>
            <Name>Main</Name>
            <Sport>0</Sport>
          </Court>
          <Id>0</Id>
          <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>
            <Name>Exposure High School</Name>
          </Venue>
        </VenueCourt>
      </Game>
    </Results>
    <Total>1</Total>
  </Bouts>
</Response>

Update Bout

Updates an existing bout.

Endpoint

PUT https://wrestling.exposureevents.com/api/v1/bouts

Parameters

Name Type Default Required Description
id integer The bout id.
awayteamscore integer The score of the away team.
hometeamscore integer The score of the home team.
awayteamwonby enumeration How the away team was declared the winner.
hometeamwonby enumeration How the home team was declared the winner.
time string The time the match ended by fall or tech fall.
externalid string External vendor bout id used for statistics.
Updates will only occur on parameters provided in the request and will ignore updating the other parameters.
{
  "Id": 64,
  "AwayScore": "4",
  "HomeScore": "2",
  "AwayTeamScore": "4",
  "HomeTeamScore": "2",
  "ExternalId": "4545420",
  "AwayWonBy": 4,
  "AwayTeamWonBy": 4,
  "Time": "1:00"
}
<Request xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <AwayColor i:nil="true" />
  <AwayScore>4</AwayScore>
  <AwayTeamScore>4</AwayTeamScore>
  <AwayTeamWonBy>Fall</AwayTeamWonBy>
  <AwayWonBy>Fall</AwayWonBy>
  <ExternalId>4545420</ExternalId>
  <HomeColor i:nil="true" />
  <HomeScore>2</HomeScore>
  <HomeTeamScore>2</HomeTeamScore>
  <HomeTeamWonBy i:nil="true" />
  <HomeWonBy i:nil="true" />
  <Id>64</Id>
  <Time>1:00</Time>
</Request>
{}
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" />
WRESTLING EVENT, TOURNAMENT AND LEAGUE MARKETING Market your event now! Submit Event