GET api/v{version}/matches/byseason/{seasonId}/player/{playerId}

Get all player matches of a season.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
seasonId

integer

Required

playerId

integer

Required

version

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of BasicMatch
NameDescriptionTypeAdditional information
MatchId

integer

None.

A

BasicPlayer

None.

B

BasicPlayer

None.

OfficialStartDate

date

None.

MatchContext

MatchContext

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "MatchId": 1,
    "A": {
      "PlayerId": 1,
      "Score": 1,
      "Nationality": "sample string 2",
      "Url": "sample string 3",
      "FirstName": "sample string 4",
      "MiddleName": "sample string 5",
      "LastName": "sample string 6",
      "MatchName": "sample string 7"
    },
    "B": {
      "PlayerId": 1,
      "Score": 1,
      "Nationality": "sample string 2",
      "Url": "sample string 3",
      "FirstName": "sample string 4",
      "MiddleName": "sample string 5",
      "LastName": "sample string 6",
      "MatchName": "sample string 7"
    },
    "OfficialStartDate": "2019-10-18T08:15:18.0631905+02:00",
    "MatchContext": {
      "Organisation": "sample string 1",
      "CompetitionId": 2,
      "Competition": "sample string 3",
      "SeasonId": 4,
      "Season": "sample string 5",
      "Round": "sample string 6",
      "Poule": "sample string 7"
    }
  },
  {
    "MatchId": 1,
    "A": {
      "PlayerId": 1,
      "Score": 1,
      "Nationality": "sample string 2",
      "Url": "sample string 3",
      "FirstName": "sample string 4",
      "MiddleName": "sample string 5",
      "LastName": "sample string 6",
      "MatchName": "sample string 7"
    },
    "B": {
      "PlayerId": 1,
      "Score": 1,
      "Nationality": "sample string 2",
      "Url": "sample string 3",
      "FirstName": "sample string 4",
      "MiddleName": "sample string 5",
      "LastName": "sample string 6",
      "MatchName": "sample string 7"
    },
    "OfficialStartDate": "2019-10-18T08:15:18.0631905+02:00",
    "MatchContext": {
      "Organisation": "sample string 1",
      "CompetitionId": 2,
      "Competition": "sample string 3",
      "SeasonId": 4,
      "Season": "sample string 5",
      "Round": "sample string 6",
      "Poule": "sample string 7"
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfBasicMatch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models">
  <BasicMatch>
    <A>
      <FirstName>sample string 4</FirstName>
      <LastName>sample string 6</LastName>
      <MatchName>sample string 7</MatchName>
      <MiddleName>sample string 5</MiddleName>
      <Nationality>sample string 2</Nationality>
      <PlayerId>1</PlayerId>
      <Score>1</Score>
      <Url>sample string 3</Url>
    </A>
    <B>
      <FirstName>sample string 4</FirstName>
      <LastName>sample string 6</LastName>
      <MatchName>sample string 7</MatchName>
      <MiddleName>sample string 5</MiddleName>
      <Nationality>sample string 2</Nationality>
      <PlayerId>1</PlayerId>
      <Score>1</Score>
      <Url>sample string 3</Url>
    </B>
    <MatchContext>
      <Competition>sample string 3</Competition>
      <CompetitionId>2</CompetitionId>
      <Organisation>sample string 1</Organisation>
      <Poule>sample string 7</Poule>
      <Round>sample string 6</Round>
      <Season>sample string 5</Season>
      <SeasonId>4</SeasonId>
    </MatchContext>
    <MatchId>1</MatchId>
    <OfficialStartDate>2019-10-18T08:15:18.0631905+02:00</OfficialStartDate>
  </BasicMatch>
  <BasicMatch>
    <A>
      <FirstName>sample string 4</FirstName>
      <LastName>sample string 6</LastName>
      <MatchName>sample string 7</MatchName>
      <MiddleName>sample string 5</MiddleName>
      <Nationality>sample string 2</Nationality>
      <PlayerId>1</PlayerId>
      <Score>1</Score>
      <Url>sample string 3</Url>
    </A>
    <B>
      <FirstName>sample string 4</FirstName>
      <LastName>sample string 6</LastName>
      <MatchName>sample string 7</MatchName>
      <MiddleName>sample string 5</MiddleName>
      <Nationality>sample string 2</Nationality>
      <PlayerId>1</PlayerId>
      <Score>1</Score>
      <Url>sample string 3</Url>
    </B>
    <MatchContext>
      <Competition>sample string 3</Competition>
      <CompetitionId>2</CompetitionId>
      <Organisation>sample string 1</Organisation>
      <Poule>sample string 7</Poule>
      <Round>sample string 6</Round>
      <Season>sample string 5</Season>
      <SeasonId>4</SeasonId>
    </MatchContext>
    <MatchId>1</MatchId>
    <OfficialStartDate>2019-10-18T08:15:18.0631905+02:00</OfficialStartDate>
  </BasicMatch>
</ArrayOfBasicMatch>