GET api/{version}/Seasons/{seasonId}/Fixtures

Details of fixtures for a specified season, this will bring back all fixtures within that season.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
seasonId

The ID of the season.

string

Required

version

string

None.

Body Parameters

None.

Response Information

Resource Description

MatchFixtures
NameDescriptionTypeAdditional information
Fixtures

List of fixtures

Collection of Match

None.

RequestStatus

Details of API request status

APIRequestStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "Fixtures": [
    {
      "Competition": {
        "CompetitionId": "sample string 1",
        "CompetitionCode": "sample string 2",
        "CompetitionName": "sample string 3"
      },
      "Season": {
        "Id": "sample string 1",
        "SeasonName": "sample string 2"
      },
      "Id": "sample string 1",
      "HomeTeam": {
        "Id": "sample string 1",
        "Name": "sample string 2",
        "Logo": {
          "SVGLogo": "sample string 1",
          "PNGLogo": "sample string 2",
          "RequestStatus": {
            "Success": true,
            "StatusMessage": "sample string 2"
          }
        }
      },
      "HomeTeamScorers": [
        {
          "Id": "sample string 1",
          "FullName": "sample string 2",
          "FirstName": "sample string 3",
          "LastName": "sample string 4",
          "Time": 5,
          "Type": 0,
          "Period": 0
        },
        {
          "Id": "sample string 1",
          "FullName": "sample string 2",
          "FirstName": "sample string 3",
          "LastName": "sample string 4",
          "Time": 5,
          "Type": 0,
          "Period": 0
        }
      ],
      "AwayTeam": {
        "Id": "sample string 1",
        "Name": "sample string 2",
        "Logo": {
          "SVGLogo": "sample string 1",
          "PNGLogo": "sample string 2",
          "RequestStatus": {
            "Success": true,
            "StatusMessage": "sample string 2"
          }
        }
      },
      "AwayTeamScorers": [
        {
          "Id": "sample string 1",
          "FullName": "sample string 2",
          "FirstName": "sample string 3",
          "LastName": "sample string 4",
          "Time": 5,
          "Type": 0,
          "Period": 0
        },
        {
          "Id": "sample string 1",
          "FullName": "sample string 2",
          "FirstName": "sample string 3",
          "LastName": "sample string 4",
          "Time": 5,
          "Type": 0,
          "Period": 0
        }
      ],
      "Venue": "sample string 2",
      "Attendance": "sample string 3",
      "Referee": {
        "Id": "sample string 1",
        "FullName": "sample string 2",
        "FirstName": "sample string 3",
        "LastName": "sample string 4"
      },
      "Date": "2017-12-11T00:28:42.3609186+00:00",
      "KickOffTime": "00:00:00.1234567",
      "MatchTime": 1,
      "TimeZone": "sample string 6",
      "MatchDayWeek": 1,
      "MatchStatus": 0,
      "MatchPeriod": 0,
      "HomeScore": 7,
      "AwayScore": 8,
      "HomeForm": [
        0,
        0
      ],
      "AwayForm": [
        0,
        0
      ],
      "isHome": true,
      "LineUp": true
    },
    {
      "Competition": {
        "CompetitionId": "sample string 1",
        "CompetitionCode": "sample string 2",
        "CompetitionName": "sample string 3"
      },
      "Season": {
        "Id": "sample string 1",
        "SeasonName": "sample string 2"
      },
      "Id": "sample string 1",
      "HomeTeam": {
        "Id": "sample string 1",
        "Name": "sample string 2",
        "Logo": {
          "SVGLogo": "sample string 1",
          "PNGLogo": "sample string 2",
          "RequestStatus": {
            "Success": true,
            "StatusMessage": "sample string 2"
          }
        }
      },
      "HomeTeamScorers": [
        {
          "Id": "sample string 1",
          "FullName": "sample string 2",
          "FirstName": "sample string 3",
          "LastName": "sample string 4",
          "Time": 5,
          "Type": 0,
          "Period": 0
        },
        {
          "Id": "sample string 1",
          "FullName": "sample string 2",
          "FirstName": "sample string 3",
          "LastName": "sample string 4",
          "Time": 5,
          "Type": 0,
          "Period": 0
        }
      ],
      "AwayTeam": {
        "Id": "sample string 1",
        "Name": "sample string 2",
        "Logo": {
          "SVGLogo": "sample string 1",
          "PNGLogo": "sample string 2",
          "RequestStatus": {
            "Success": true,
            "StatusMessage": "sample string 2"
          }
        }
      },
      "AwayTeamScorers": [
        {
          "Id": "sample string 1",
          "FullName": "sample string 2",
          "FirstName": "sample string 3",
          "LastName": "sample string 4",
          "Time": 5,
          "Type": 0,
          "Period": 0
        },
        {
          "Id": "sample string 1",
          "FullName": "sample string 2",
          "FirstName": "sample string 3",
          "LastName": "sample string 4",
          "Time": 5,
          "Type": 0,
          "Period": 0
        }
      ],
      "Venue": "sample string 2",
      "Attendance": "sample string 3",
      "Referee": {
        "Id": "sample string 1",
        "FullName": "sample string 2",
        "FirstName": "sample string 3",
        "LastName": "sample string 4"
      },
      "Date": "2017-12-11T00:28:42.3609186+00:00",
      "KickOffTime": "00:00:00.1234567",
      "MatchTime": 1,
      "TimeZone": "sample string 6",
      "MatchDayWeek": 1,
      "MatchStatus": 0,
      "MatchPeriod": 0,
      "HomeScore": 7,
      "AwayScore": 8,
      "HomeForm": [
        0,
        0
      ],
      "AwayForm": [
        0,
        0
      ],
      "isHome": true,
      "LineUp": true
    }
  ],
  "RequestStatus": {
    "Success": true,
    "StatusMessage": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<MatchFixtures xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Green4.WebApi.Stats.Interface.Stats">
  <Fixtures>
    <Match>
      <Attendance>sample string 3</Attendance>
      <AwayForm>
        <MatchForm>NA</MatchForm>
        <MatchForm>NA</MatchForm>
      </AwayForm>
      <AwayScore>8</AwayScore>
      <AwayTeam>
        <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>
      </AwayTeam>
      <AwayTeamScorers>
        <MatchScorer>
          <FirstName>sample string 3</FirstName>
          <FullName>sample string 2</FullName>
          <Id>sample string 1</Id>
          <LastName>sample string 4</LastName>
          <Period>NA</Period>
          <Time>5</Time>
          <Type>NA</Type>
        </MatchScorer>
        <MatchScorer>
          <FirstName>sample string 3</FirstName>
          <FullName>sample string 2</FullName>
          <Id>sample string 1</Id>
          <LastName>sample string 4</LastName>
          <Period>NA</Period>
          <Time>5</Time>
          <Type>NA</Type>
        </MatchScorer>
      </AwayTeamScorers>
      <Competition>
        <CompetitionCode>sample string 2</CompetitionCode>
        <CompetitionId>sample string 1</CompetitionId>
        <CompetitionName>sample string 3</CompetitionName>
      </Competition>
      <Date>2017-12-11T00:28:42.3609186+00:00</Date>
      <HomeForm>
        <MatchForm>NA</MatchForm>
        <MatchForm>NA</MatchForm>
      </HomeForm>
      <HomeScore>7</HomeScore>
      <HomeTeam>
        <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>
      </HomeTeam>
      <HomeTeamScorers>
        <MatchScorer>
          <FirstName>sample string 3</FirstName>
          <FullName>sample string 2</FullName>
          <Id>sample string 1</Id>
          <LastName>sample string 4</LastName>
          <Period>NA</Period>
          <Time>5</Time>
          <Type>NA</Type>
        </MatchScorer>
        <MatchScorer>
          <FirstName>sample string 3</FirstName>
          <FullName>sample string 2</FullName>
          <Id>sample string 1</Id>
          <LastName>sample string 4</LastName>
          <Period>NA</Period>
          <Time>5</Time>
          <Type>NA</Type>
        </MatchScorer>
      </HomeTeamScorers>
      <Id>sample string 1</Id>
      <KickOffTime>PT0.1234567S</KickOffTime>
      <LineUp>true</LineUp>
      <MatchDayWeek>1</MatchDayWeek>
      <MatchPeriod>NA</MatchPeriod>
      <MatchStatus>NA</MatchStatus>
      <MatchTime>1</MatchTime>
      <Referee>
        <FirstName>sample string 3</FirstName>
        <FullName>sample string 2</FullName>
        <Id>sample string 1</Id>
        <LastName>sample string 4</LastName>
      </Referee>
      <Season>
        <Id>sample string 1</Id>
        <SeasonName>sample string 2</SeasonName>
      </Season>
      <TimeZone>sample string 6</TimeZone>
      <Venue>sample string 2</Venue>
      <isHome>true</isHome>
    </Match>
    <Match>
      <Attendance>sample string 3</Attendance>
      <AwayForm>
        <MatchForm>NA</MatchForm>
        <MatchForm>NA</MatchForm>
      </AwayForm>
      <AwayScore>8</AwayScore>
      <AwayTeam>
        <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>
      </AwayTeam>
      <AwayTeamScorers>
        <MatchScorer>
          <FirstName>sample string 3</FirstName>
          <FullName>sample string 2</FullName>
          <Id>sample string 1</Id>
          <LastName>sample string 4</LastName>
          <Period>NA</Period>
          <Time>5</Time>
          <Type>NA</Type>
        </MatchScorer>
        <MatchScorer>
          <FirstName>sample string 3</FirstName>
          <FullName>sample string 2</FullName>
          <Id>sample string 1</Id>
          <LastName>sample string 4</LastName>
          <Period>NA</Period>
          <Time>5</Time>
          <Type>NA</Type>
        </MatchScorer>
      </AwayTeamScorers>
      <Competition>
        <CompetitionCode>sample string 2</CompetitionCode>
        <CompetitionId>sample string 1</CompetitionId>
        <CompetitionName>sample string 3</CompetitionName>
      </Competition>
      <Date>2017-12-11T00:28:42.3609186+00:00</Date>
      <HomeForm>
        <MatchForm>NA</MatchForm>
        <MatchForm>NA</MatchForm>
      </HomeForm>
      <HomeScore>7</HomeScore>
      <HomeTeam>
        <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>
      </HomeTeam>
      <HomeTeamScorers>
        <MatchScorer>
          <FirstName>sample string 3</FirstName>
          <FullName>sample string 2</FullName>
          <Id>sample string 1</Id>
          <LastName>sample string 4</LastName>
          <Period>NA</Period>
          <Time>5</Time>
          <Type>NA</Type>
        </MatchScorer>
        <MatchScorer>
          <FirstName>sample string 3</FirstName>
          <FullName>sample string 2</FullName>
          <Id>sample string 1</Id>
          <LastName>sample string 4</LastName>
          <Period>NA</Period>
          <Time>5</Time>
          <Type>NA</Type>
        </MatchScorer>
      </HomeTeamScorers>
      <Id>sample string 1</Id>
      <KickOffTime>PT0.1234567S</KickOffTime>
      <LineUp>true</LineUp>
      <MatchDayWeek>1</MatchDayWeek>
      <MatchPeriod>NA</MatchPeriod>
      <MatchStatus>NA</MatchStatus>
      <MatchTime>1</MatchTime>
      <Referee>
        <FirstName>sample string 3</FirstName>
        <FullName>sample string 2</FullName>
        <Id>sample string 1</Id>
        <LastName>sample string 4</LastName>
      </Referee>
      <Season>
        <Id>sample string 1</Id>
        <SeasonName>sample string 2</SeasonName>
      </Season>
      <TimeZone>sample string 6</TimeZone>
      <Venue>sample string 2</Venue>
      <isHome>true</isHome>
    </Match>
  </Fixtures>
  <RequestStatus>
    <StatusMessage>sample string 2</StatusMessage>
    <Success>true</Success>
  </RequestStatus>
</MatchFixtures>