GET api/{version}/Seasons/{seasonId}/Competitions/{competitionId}/Players

Details of every player 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

AllPlayers
NameDescriptionTypeAdditional information
TeamsPlayersData

Details of the teams players data

Collection of Players

None.

RequestStatus

Details of request status

APIRequestStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "TeamsPlayersData": [
    {
      "TeamPlayers": [
        {
          "Id": "sample string 1",
          "FullName": "sample string 2",
          "FirstName": "sample string 3",
          "MiddleName": "sample string 4",
          "LastName": "sample string 5",
          "Position": "sample string 6",
          "BirthDate": "2017-12-11T00:27:48.5651499+00:00",
          "Weight": "sample string 8",
          "Height": "sample string 9",
          "ShirtNumber": 1,
          "RealPosition": "sample string 10",
          "JoinDate": "2017-12-11T00:27:48.5651499+00:00",
          "Country": "sample string 12",
          "OnLoan": true
        },
        {
          "Id": "sample string 1",
          "FullName": "sample string 2",
          "FirstName": "sample string 3",
          "MiddleName": "sample string 4",
          "LastName": "sample string 5",
          "Position": "sample string 6",
          "BirthDate": "2017-12-11T00:27:48.5651499+00:00",
          "Weight": "sample string 8",
          "Height": "sample string 9",
          "ShirtNumber": 1,
          "RealPosition": "sample string 10",
          "JoinDate": "2017-12-11T00:27:48.5651499+00:00",
          "Country": "sample string 12",
          "OnLoan": true
        }
      ],
      "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"
          }
        }
      },
      "Competition": {
        "CompetitionId": "sample string 1",
        "CompetitionCode": "sample string 2",
        "CompetitionName": "sample string 3"
      },
      "Season": {
        "Id": "sample string 1",
        "SeasonName": "sample string 2"
      }
    },
    {
      "TeamPlayers": [
        {
          "Id": "sample string 1",
          "FullName": "sample string 2",
          "FirstName": "sample string 3",
          "MiddleName": "sample string 4",
          "LastName": "sample string 5",
          "Position": "sample string 6",
          "BirthDate": "2017-12-11T00:27:48.5651499+00:00",
          "Weight": "sample string 8",
          "Height": "sample string 9",
          "ShirtNumber": 1,
          "RealPosition": "sample string 10",
          "JoinDate": "2017-12-11T00:27:48.5651499+00:00",
          "Country": "sample string 12",
          "OnLoan": true
        },
        {
          "Id": "sample string 1",
          "FullName": "sample string 2",
          "FirstName": "sample string 3",
          "MiddleName": "sample string 4",
          "LastName": "sample string 5",
          "Position": "sample string 6",
          "BirthDate": "2017-12-11T00:27:48.5651499+00:00",
          "Weight": "sample string 8",
          "Height": "sample string 9",
          "ShirtNumber": 1,
          "RealPosition": "sample string 10",
          "JoinDate": "2017-12-11T00:27:48.5651499+00:00",
          "Country": "sample string 12",
          "OnLoan": true
        }
      ],
      "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"
          }
        }
      },
      "Competition": {
        "CompetitionId": "sample string 1",
        "CompetitionCode": "sample string 2",
        "CompetitionName": "sample string 3"
      },
      "Season": {
        "Id": "sample string 1",
        "SeasonName": "sample string 2"
      }
    }
  ],
  "RequestStatus": {
    "Success": true,
    "StatusMessage": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<AllPlayers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Green4.WebApi.Stats.Interface.Stats">
  <RequestStatus>
    <StatusMessage>sample string 2</StatusMessage>
    <Success>true</Success>
  </RequestStatus>
  <TeamsPlayersData>
    <Players>
      <Competition>
        <CompetitionCode>sample string 2</CompetitionCode>
        <CompetitionId>sample string 1</CompetitionId>
        <CompetitionName>sample string 3</CompetitionName>
      </Competition>
      <Season>
        <Id>sample string 1</Id>
        <SeasonName>sample string 2</SeasonName>
      </Season>
      <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>
      <TeamPlayers>
        <Player>
          <BirthDate>2017-12-11T00:27:48.5651499+00:00</BirthDate>
          <Country>sample string 12</Country>
          <FirstName>sample string 3</FirstName>
          <FullName>sample string 2</FullName>
          <Height>sample string 9</Height>
          <Id>sample string 1</Id>
          <JoinDate>2017-12-11T00:27:48.5651499+00:00</JoinDate>
          <LastName>sample string 5</LastName>
          <MiddleName>sample string 4</MiddleName>
          <OnLoan>true</OnLoan>
          <Position>sample string 6</Position>
          <RealPosition>sample string 10</RealPosition>
          <ShirtNumber>1</ShirtNumber>
          <Weight>sample string 8</Weight>
        </Player>
        <Player>
          <BirthDate>2017-12-11T00:27:48.5651499+00:00</BirthDate>
          <Country>sample string 12</Country>
          <FirstName>sample string 3</FirstName>
          <FullName>sample string 2</FullName>
          <Height>sample string 9</Height>
          <Id>sample string 1</Id>
          <JoinDate>2017-12-11T00:27:48.5651499+00:00</JoinDate>
          <LastName>sample string 5</LastName>
          <MiddleName>sample string 4</MiddleName>
          <OnLoan>true</OnLoan>
          <Position>sample string 6</Position>
          <RealPosition>sample string 10</RealPosition>
          <ShirtNumber>1</ShirtNumber>
          <Weight>sample string 8</Weight>
        </Player>
      </TeamPlayers>
    </Players>
    <Players>
      <Competition>
        <CompetitionCode>sample string 2</CompetitionCode>
        <CompetitionId>sample string 1</CompetitionId>
        <CompetitionName>sample string 3</CompetitionName>
      </Competition>
      <Season>
        <Id>sample string 1</Id>
        <SeasonName>sample string 2</SeasonName>
      </Season>
      <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>
      <TeamPlayers>
        <Player>
          <BirthDate>2017-12-11T00:27:48.5651499+00:00</BirthDate>
          <Country>sample string 12</Country>
          <FirstName>sample string 3</FirstName>
          <FullName>sample string 2</FullName>
          <Height>sample string 9</Height>
          <Id>sample string 1</Id>
          <JoinDate>2017-12-11T00:27:48.5651499+00:00</JoinDate>
          <LastName>sample string 5</LastName>
          <MiddleName>sample string 4</MiddleName>
          <OnLoan>true</OnLoan>
          <Position>sample string 6</Position>
          <RealPosition>sample string 10</RealPosition>
          <ShirtNumber>1</ShirtNumber>
          <Weight>sample string 8</Weight>
        </Player>
        <Player>
          <BirthDate>2017-12-11T00:27:48.5651499+00:00</BirthDate>
          <Country>sample string 12</Country>
          <FirstName>sample string 3</FirstName>
          <FullName>sample string 2</FullName>
          <Height>sample string 9</Height>
          <Id>sample string 1</Id>
          <JoinDate>2017-12-11T00:27:48.5651499+00:00</JoinDate>
          <LastName>sample string 5</LastName>
          <MiddleName>sample string 4</MiddleName>
          <OnLoan>true</OnLoan>
          <Position>sample string 6</Position>
          <RealPosition>sample string 10</RealPosition>
          <ShirtNumber>1</ShirtNumber>
          <Weight>sample string 8</Weight>
        </Player>
      </TeamPlayers>
    </Players>
  </TeamsPlayersData>
</AllPlayers>