GET api/{version}/Teams/{teamId}/Seasons/{seasonId}/Fixtures/{fixtureId}/Stats

Details of fixture stats for a specifed fixture.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
teamId

The ID of the team.

string

Required

seasonId

The ID of the season.

string

Required

fixtureId

The ID of the fixture.

string

Required

version

string

None.

Body Parameters

None.

Response Information

Resource Description

MatchStats
NameDescriptionTypeAdditional information
Id

The match id

string

None.

HomeTeam

Home team fixture stats

TeamStatsBreakdown

None.

AwayTeam

Away team fixture stats

TeamStatsBreakdown

None.

Date

Date of fixture

date

None.

KickOffTime

The kick off time for the fixture

time interval

None.

IsHome

If you searched for a team within the API call and your team is home this will populate with true.

boolean

None.

Status

Match status

MatchStatus

None.

RequestStatus

Details of request status

APIRequestStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "HomeTeam": {
    "TeamDetails": {
      "Id": "sample string 1",
      "Name": "sample string 2",
      "Logo": {
        "SVGLogo": "sample string 1",
        "PNGLogo": "sample string 2",
        "RequestStatus": {
          "Success": true,
          "StatusMessage": "sample string 2"
        }
      }
    },
    "FirstHalf": {
      "Goals": 1,
      "Posession": "sample string 2",
      "Shots": 3,
      "ShotsOnTargert": 4,
      "Corners": 5,
      "Fouls": 6,
      "Saves": 7,
      "Subs": 8,
      "YellowCards": 9,
      "RedCards": 10,
      "PenaltiesConceded": 11,
      "TotalThrowIns": 12
    },
    "SecondHalf": {
      "Goals": 1,
      "Posession": "sample string 2",
      "Shots": 3,
      "ShotsOnTargert": 4,
      "Corners": 5,
      "Fouls": 6,
      "Saves": 7,
      "Subs": 8,
      "YellowCards": 9,
      "RedCards": 10,
      "PenaltiesConceded": 11,
      "TotalThrowIns": 12
    },
    "Overall": {
      "Goals": 1,
      "Posession": "sample string 2",
      "Shots": 3,
      "ShotsOnTargert": 4,
      "Corners": 5,
      "Fouls": 6,
      "Saves": 7,
      "Subs": 8,
      "YellowCards": 9,
      "RedCards": 10,
      "PenaltiesConceded": 11,
      "TotalThrowIns": 12
    }
  },
  "AwayTeam": {
    "TeamDetails": {
      "Id": "sample string 1",
      "Name": "sample string 2",
      "Logo": {
        "SVGLogo": "sample string 1",
        "PNGLogo": "sample string 2",
        "RequestStatus": {
          "Success": true,
          "StatusMessage": "sample string 2"
        }
      }
    },
    "FirstHalf": {
      "Goals": 1,
      "Posession": "sample string 2",
      "Shots": 3,
      "ShotsOnTargert": 4,
      "Corners": 5,
      "Fouls": 6,
      "Saves": 7,
      "Subs": 8,
      "YellowCards": 9,
      "RedCards": 10,
      "PenaltiesConceded": 11,
      "TotalThrowIns": 12
    },
    "SecondHalf": {
      "Goals": 1,
      "Posession": "sample string 2",
      "Shots": 3,
      "ShotsOnTargert": 4,
      "Corners": 5,
      "Fouls": 6,
      "Saves": 7,
      "Subs": 8,
      "YellowCards": 9,
      "RedCards": 10,
      "PenaltiesConceded": 11,
      "TotalThrowIns": 12
    },
    "Overall": {
      "Goals": 1,
      "Posession": "sample string 2",
      "Shots": 3,
      "ShotsOnTargert": 4,
      "Corners": 5,
      "Fouls": 6,
      "Saves": 7,
      "Subs": 8,
      "YellowCards": 9,
      "RedCards": 10,
      "PenaltiesConceded": 11,
      "TotalThrowIns": 12
    }
  },
  "Date": "2017-12-11T00:30:32.869841+00:00",
  "KickOffTime": "00:00:00.1234567",
  "IsHome": true,
  "Status": 0,
  "RequestStatus": {
    "Success": true,
    "StatusMessage": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<MatchStats xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Green4.WebApi.Stats.Interface.Stats">
  <AwayTeam>
    <FirstHalf>
      <Corners>5</Corners>
      <Fouls>6</Fouls>
      <Goals>1</Goals>
      <PenaltiesConceded>11</PenaltiesConceded>
      <Posession>sample string 2</Posession>
      <RedCards>10</RedCards>
      <Saves>7</Saves>
      <Shots>3</Shots>
      <ShotsOnTargert>4</ShotsOnTargert>
      <Subs>8</Subs>
      <TotalThrowIns>12</TotalThrowIns>
      <YellowCards>9</YellowCards>
    </FirstHalf>
    <Overall>
      <Corners>5</Corners>
      <Fouls>6</Fouls>
      <Goals>1</Goals>
      <PenaltiesConceded>11</PenaltiesConceded>
      <Posession>sample string 2</Posession>
      <RedCards>10</RedCards>
      <Saves>7</Saves>
      <Shots>3</Shots>
      <ShotsOnTargert>4</ShotsOnTargert>
      <Subs>8</Subs>
      <TotalThrowIns>12</TotalThrowIns>
      <YellowCards>9</YellowCards>
    </Overall>
    <SecondHalf>
      <Corners>5</Corners>
      <Fouls>6</Fouls>
      <Goals>1</Goals>
      <PenaltiesConceded>11</PenaltiesConceded>
      <Posession>sample string 2</Posession>
      <RedCards>10</RedCards>
      <Saves>7</Saves>
      <Shots>3</Shots>
      <ShotsOnTargert>4</ShotsOnTargert>
      <Subs>8</Subs>
      <TotalThrowIns>12</TotalThrowIns>
      <YellowCards>9</YellowCards>
    </SecondHalf>
    <TeamDetails>
      <Id>sample string 1</Id>
      <Logo>
        <PNGLogo>sample string 2</PNGLogo>
        <RequestStatus>
          <StatusMessage>sample string 2</StatusMessage>
          <Success>true</Success>
        </RequestStatus>
        <SVGLogo>sample string 1</SVGLogo>
      </Logo>
      <Name>sample string 2</Name>
    </TeamDetails>
  </AwayTeam>
  <Date>2017-12-11T00:30:32.869841+00:00</Date>
  <HomeTeam>
    <FirstHalf>
      <Corners>5</Corners>
      <Fouls>6</Fouls>
      <Goals>1</Goals>
      <PenaltiesConceded>11</PenaltiesConceded>
      <Posession>sample string 2</Posession>
      <RedCards>10</RedCards>
      <Saves>7</Saves>
      <Shots>3</Shots>
      <ShotsOnTargert>4</ShotsOnTargert>
      <Subs>8</Subs>
      <TotalThrowIns>12</TotalThrowIns>
      <YellowCards>9</YellowCards>
    </FirstHalf>
    <Overall>
      <Corners>5</Corners>
      <Fouls>6</Fouls>
      <Goals>1</Goals>
      <PenaltiesConceded>11</PenaltiesConceded>
      <Posession>sample string 2</Posession>
      <RedCards>10</RedCards>
      <Saves>7</Saves>
      <Shots>3</Shots>
      <ShotsOnTargert>4</ShotsOnTargert>
      <Subs>8</Subs>
      <TotalThrowIns>12</TotalThrowIns>
      <YellowCards>9</YellowCards>
    </Overall>
    <SecondHalf>
      <Corners>5</Corners>
      <Fouls>6</Fouls>
      <Goals>1</Goals>
      <PenaltiesConceded>11</PenaltiesConceded>
      <Posession>sample string 2</Posession>
      <RedCards>10</RedCards>
      <Saves>7</Saves>
      <Shots>3</Shots>
      <ShotsOnTargert>4</ShotsOnTargert>
      <Subs>8</Subs>
      <TotalThrowIns>12</TotalThrowIns>
      <YellowCards>9</YellowCards>
    </SecondHalf>
    <TeamDetails>
      <Id>sample string 1</Id>
      <Logo>
        <PNGLogo>sample string 2</PNGLogo>
        <RequestStatus>
          <StatusMessage>sample string 2</StatusMessage>
          <Success>true</Success>
        </RequestStatus>
        <SVGLogo>sample string 1</SVGLogo>
      </Logo>
      <Name>sample string 2</Name>
    </TeamDetails>
  </HomeTeam>
  <Id>sample string 1</Id>
  <IsHome>true</IsHome>
  <KickOffTime>PT0.1234567S</KickOffTime>
  <RequestStatus>
    <StatusMessage>sample string 2</StatusMessage>
    <Success>true</Success>
  </RequestStatus>
  <Status>NA</Status>
</MatchStats>