GET api/{version}/Teams/{teamId}/Competitions/{competitionId}/Seasons/{seasonId}/Players/{playerId}

Details of every player for specified team based on the specified season and competition.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
teamId

The ID of the team.

string

Required

competitionId

The ID of the competition.

string

Required

seasonId

The ID of the season.

string

Required

playerId

The ID of the player.

string

Required

version

string

None.

Body Parameters

None.

Response Information

Resource Description

TeamPlayer
NameDescriptionTypeAdditional information
Player

Details of player

Player

None.

Team

Details of the team

Team

None.

Competition

Details of competition

Competition

None.

Season

Details of season

Season

None.

RequestStatus

Details of request status

APIRequestStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "Player": {
    "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-08-21T19:24:15.1621102+00:00",
    "Weight": "sample string 8",
    "Height": "sample string 9",
    "ShirtNumber": 1,
    "RealPosition": "sample string 10",
    "JoinDate": "2017-08-21T19:24:15.1621102+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:
<TeamPlayer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Green4.WebApi.Stats.Interface.Stats">
  <Competition>
    <CompetitionCode>sample string 2</CompetitionCode>
    <CompetitionId>sample string 1</CompetitionId>
    <CompetitionName>sample string 3</CompetitionName>
  </Competition>
  <Player>
    <BirthDate>2017-08-21T19:24:15.1621102+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-08-21T19:24:15.1621102+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>
  <RequestStatus>
    <StatusMessage>sample string 2</StatusMessage>
    <Success>true</Success>
  </RequestStatus>
  <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>
</TeamPlayer>