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

Details of all latest scores for every competition and every team for the specified 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

AllMatchScores
NameDescriptionTypeAdditional information
MatchScores

List of match scores

Collection of MatchScores

None.

AnyLive

If any games are live within all the match scores this will be set to true

boolean

None.

RequestStatus

Details of request status

APIRequestStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "MatchScores": [
    {
      "Competition": {
        "CompetitionId": "sample string 1",
        "CompetitionCode": "sample string 2",
        "CompetitionName": "sample string 3"
      },
      "Season": {
        "Id": "sample string 1",
        "SeasonName": "sample string 2"
      },
      "Matchs": [
        {
          "HomeTeam": {
            "Score": 1,
            "Team": {
              "Id": "sample string 1",
              "Name": "sample string 2",
              "Logo": {
                "SVGLogo": "sample string 1",
                "PNGLogo": "sample string 2",
                "RequestStatus": {
                  "Success": true,
                  "StatusMessage": "sample string 2"
                }
              }
            },
            "TeamScorers": [
              {
                "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": {
            "Score": 1,
            "Team": {
              "Id": "sample string 1",
              "Name": "sample string 2",
              "Logo": {
                "SVGLogo": "sample string 1",
                "PNGLogo": "sample string 2",
                "RequestStatus": {
                  "Success": true,
                  "StatusMessage": "sample string 2"
                }
              }
            },
            "TeamScorers": [
              {
                "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
              }
            ]
          },
          "Period": 0,
          "Status": 0,
          "KickOffTime": "sample string 1",
          "Date": "2017-12-11T00:29:09.3948452+00:00"
        },
        {
          "HomeTeam": {
            "Score": 1,
            "Team": {
              "Id": "sample string 1",
              "Name": "sample string 2",
              "Logo": {
                "SVGLogo": "sample string 1",
                "PNGLogo": "sample string 2",
                "RequestStatus": {
                  "Success": true,
                  "StatusMessage": "sample string 2"
                }
              }
            },
            "TeamScorers": [
              {
                "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": {
            "Score": 1,
            "Team": {
              "Id": "sample string 1",
              "Name": "sample string 2",
              "Logo": {
                "SVGLogo": "sample string 1",
                "PNGLogo": "sample string 2",
                "RequestStatus": {
                  "Success": true,
                  "StatusMessage": "sample string 2"
                }
              }
            },
            "TeamScorers": [
              {
                "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
              }
            ]
          },
          "Period": 0,
          "Status": 0,
          "KickOffTime": "sample string 1",
          "Date": "2017-12-11T00:29:09.3948452+00:00"
        }
      ],
      "AnyLive": true
    },
    {
      "Competition": {
        "CompetitionId": "sample string 1",
        "CompetitionCode": "sample string 2",
        "CompetitionName": "sample string 3"
      },
      "Season": {
        "Id": "sample string 1",
        "SeasonName": "sample string 2"
      },
      "Matchs": [
        {
          "HomeTeam": {
            "Score": 1,
            "Team": {
              "Id": "sample string 1",
              "Name": "sample string 2",
              "Logo": {
                "SVGLogo": "sample string 1",
                "PNGLogo": "sample string 2",
                "RequestStatus": {
                  "Success": true,
                  "StatusMessage": "sample string 2"
                }
              }
            },
            "TeamScorers": [
              {
                "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": {
            "Score": 1,
            "Team": {
              "Id": "sample string 1",
              "Name": "sample string 2",
              "Logo": {
                "SVGLogo": "sample string 1",
                "PNGLogo": "sample string 2",
                "RequestStatus": {
                  "Success": true,
                  "StatusMessage": "sample string 2"
                }
              }
            },
            "TeamScorers": [
              {
                "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
              }
            ]
          },
          "Period": 0,
          "Status": 0,
          "KickOffTime": "sample string 1",
          "Date": "2017-12-11T00:29:09.3948452+00:00"
        },
        {
          "HomeTeam": {
            "Score": 1,
            "Team": {
              "Id": "sample string 1",
              "Name": "sample string 2",
              "Logo": {
                "SVGLogo": "sample string 1",
                "PNGLogo": "sample string 2",
                "RequestStatus": {
                  "Success": true,
                  "StatusMessage": "sample string 2"
                }
              }
            },
            "TeamScorers": [
              {
                "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": {
            "Score": 1,
            "Team": {
              "Id": "sample string 1",
              "Name": "sample string 2",
              "Logo": {
                "SVGLogo": "sample string 1",
                "PNGLogo": "sample string 2",
                "RequestStatus": {
                  "Success": true,
                  "StatusMessage": "sample string 2"
                }
              }
            },
            "TeamScorers": [
              {
                "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
              }
            ]
          },
          "Period": 0,
          "Status": 0,
          "KickOffTime": "sample string 1",
          "Date": "2017-12-11T00:29:09.3948452+00:00"
        }
      ],
      "AnyLive": true
    }
  ],
  "AnyLive": true,
  "RequestStatus": {
    "Success": true,
    "StatusMessage": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<AllMatchScores xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Green4.WebApi.Stats.Interface.Stats">
  <AnyLive>true</AnyLive>
  <MatchScores>
    <MatchScores>
      <AnyLive>true</AnyLive>
      <Competition>
        <CompetitionCode>sample string 2</CompetitionCode>
        <CompetitionId>sample string 1</CompetitionId>
        <CompetitionName>sample string 3</CompetitionName>
      </Competition>
      <Matchs>
        <MatchScore>
          <AwayTeam>
            <Score>1</Score>
            <Team>
              <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>
            </Team>
            <TeamScorers>
              <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>
            </TeamScorers>
          </AwayTeam>
          <Date>2017-12-11T00:29:09.3948452+00:00</Date>
          <HomeTeam>
            <Score>1</Score>
            <Team>
              <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>
            </Team>
            <TeamScorers>
              <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>
            </TeamScorers>
          </HomeTeam>
          <KickOffTime>sample string 1</KickOffTime>
          <Period>NA</Period>
          <Status>NA</Status>
        </MatchScore>
        <MatchScore>
          <AwayTeam>
            <Score>1</Score>
            <Team>
              <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>
            </Team>
            <TeamScorers>
              <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>
            </TeamScorers>
          </AwayTeam>
          <Date>2017-12-11T00:29:09.3948452+00:00</Date>
          <HomeTeam>
            <Score>1</Score>
            <Team>
              <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>
            </Team>
            <TeamScorers>
              <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>
            </TeamScorers>
          </HomeTeam>
          <KickOffTime>sample string 1</KickOffTime>
          <Period>NA</Period>
          <Status>NA</Status>
        </MatchScore>
      </Matchs>
      <Season>
        <Id>sample string 1</Id>
        <SeasonName>sample string 2</SeasonName>
      </Season>
    </MatchScores>
    <MatchScores>
      <AnyLive>true</AnyLive>
      <Competition>
        <CompetitionCode>sample string 2</CompetitionCode>
        <CompetitionId>sample string 1</CompetitionId>
        <CompetitionName>sample string 3</CompetitionName>
      </Competition>
      <Matchs>
        <MatchScore>
          <AwayTeam>
            <Score>1</Score>
            <Team>
              <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>
            </Team>
            <TeamScorers>
              <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>
            </TeamScorers>
          </AwayTeam>
          <Date>2017-12-11T00:29:09.3948452+00:00</Date>
          <HomeTeam>
            <Score>1</Score>
            <Team>
              <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>
            </Team>
            <TeamScorers>
              <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>
            </TeamScorers>
          </HomeTeam>
          <KickOffTime>sample string 1</KickOffTime>
          <Period>NA</Period>
          <Status>NA</Status>
        </MatchScore>
        <MatchScore>
          <AwayTeam>
            <Score>1</Score>
            <Team>
              <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>
            </Team>
            <TeamScorers>
              <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>
            </TeamScorers>
          </AwayTeam>
          <Date>2017-12-11T00:29:09.3948452+00:00</Date>
          <HomeTeam>
            <Score>1</Score>
            <Team>
              <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>
            </Team>
            <TeamScorers>
              <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>
            </TeamScorers>
          </HomeTeam>
          <KickOffTime>sample string 1</KickOffTime>
          <Period>NA</Period>
          <Status>NA</Status>
        </MatchScore>
      </Matchs>
      <Season>
        <Id>sample string 1</Id>
        <SeasonName>sample string 2</SeasonName>
      </Season>
    </MatchScores>
  </MatchScores>
  <RequestStatus>
    <StatusMessage>sample string 2</StatusMessage>
    <Success>true</Success>
  </RequestStatus>
</AllMatchScores>