GET api/{version}/Competitions/{competitionId}/Seasons/{seasonId}/Scores/Live

Details of all latest live scores for every team for the specified season and competition

Request Information

URI Parameters

NameDescriptionTypeAdditional information
competitionId

The ID of the competition.

string

Required

seasonId

The ID of the season.

string

Required

version

string

None.

Body Parameters

None.

Response Information

Resource Description

SingleMatchScores
NameDescriptionTypeAdditional information
MatchScores

Details of match scores

MatchScores

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:30:26.275256+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:30:26.275256+00:00"
      }
    ],
    "AnyLive": true
  },
  "RequestStatus": {
    "Success": true,
    "StatusMessage": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<SingleMatchScores xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Green4.WebApi.Stats.Interface.Stats">
  <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:30:26.275256+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:30:26.275256+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>
  <RequestStatus>
    <StatusMessage>sample string 2</StatusMessage>
    <Success>true</Success>
  </RequestStatus>
</SingleMatchScores>