GET api/v{version}/match/{id}?matchstats={matchstats}

Get detailed information about a match.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

the match id

integer

Required

matchstats

should the match stats be included.

boolean

Default value is False

version

string

None.

Body Parameters

None.

Response Information

Resource Description

MatchViewModel
NameDescriptionTypeAdditional information
PlayerAId

integer

None.

PlayerBId

integer

None.

PlayerA

string

None.

PlayerB

string

None.

HasPair

boolean

None.

PairAId

integer

None.

PairBId

integer

None.

PairA

string

None.

PairB

string

None.

SeedA

string

None.

SeedB

string

None.

MatchId

integer

None.

RoundId

integer

None.

Index

integer

None.

KeyA

integer

None.

KeyB

integer

None.

AvgA

decimal number

None.

AvgB

decimal number

None.

ScoreA

Score of player/pair A. This can be either a value or a single character. Possible characters are: Walkover (W,O) or played but no score (W,L).

string

None.

ScoreB

Score of player/pair B. This can be either a value or a single character. Possible characters are: Walkover (W,O) or played but no score (W,L).

string

None.

NationalityA

string

None.

NationalityB

string

None.

CountryCodeA

string

None.

CountryCodeB

string

None.

Poule

string

None.

OfficialStartDate

date

None.

Stats

MatchStatsViewModel

None.

CallerId

integer

None.

Caller

string

None.

Meta

Provides list of meta data about the entity

Dictionary of string [key] and string [value]

None.

Response Formats

application/json, text/json

Sample:
{
  "PlayerAId": 1,
  "PlayerBId": 1,
  "PlayerA": "sample string 1",
  "PlayerB": "sample string 2",
  "HasPair": true,
  "PairAId": 1,
  "PairBId": 1,
  "PairA": "sample string 4",
  "PairB": "sample string 5",
  "SeedA": "sample string 6",
  "SeedB": "sample string 7",
  "MatchId": 8,
  "RoundId": 9,
  "Index": 10,
  "KeyA": 11,
  "KeyB": 12,
  "AvgA": 1.1,
  "AvgB": 1.1,
  "ScoreA": "sample string 13",
  "ScoreB": "sample string 14",
  "NationalityA": "sample string 15",
  "NationalityB": "sample string 16",
  "CountryCodeA": "sample string 17",
  "CountryCodeB": "sample string 18",
  "Poule": "sample string 19",
  "OfficialStartDate": "2019-08-17T19:44:47.5765305+02:00",
  "Stats": {
    "AverageA": 1.1,
    "AverageB": 1.1,
    "NumberOfHunderdEightiesA": 1,
    "NumberOfHunderdEightiesB": 1,
    "DoubleAttemptsA": 1,
    "DoubleAttemptsB": 1,
    "DoubleHitsA": 1,
    "DoubleHitsB": 1,
    "ScoresA": [
      1,
      2
    ],
    "ScoresB": [
      1,
      2
    ],
    "FinishesA": [
      1,
      2
    ],
    "FinishesB": [
      1,
      2
    ]
  },
  "CallerId": 1,
  "Caller": "sample string 20",
  "Meta": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  }
}

application/xml, text/xml

Sample:
<MatchViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models">
  <AvgA>1.1</AvgA>
  <AvgB>1.1</AvgB>
  <Caller>sample string 20</Caller>
  <CallerId>1</CallerId>
  <CountryCodeA>sample string 17</CountryCodeA>
  <CountryCodeB>sample string 18</CountryCodeB>
  <HasPair>true</HasPair>
  <Index>10</Index>
  <KeyA>11</KeyA>
  <KeyB>12</KeyB>
  <MatchId>8</MatchId>
  <Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Meta>
  <NationalityA>sample string 15</NationalityA>
  <NationalityB>sample string 16</NationalityB>
  <OfficialStartDate>2019-08-17T19:44:47.5765305+02:00</OfficialStartDate>
  <PairA>sample string 4</PairA>
  <PairAId>1</PairAId>
  <PairB>sample string 5</PairB>
  <PairBId>1</PairBId>
  <PlayerA>sample string 1</PlayerA>
  <PlayerAId>1</PlayerAId>
  <PlayerB>sample string 2</PlayerB>
  <PlayerBId>1</PlayerBId>
  <Poule>sample string 19</Poule>
  <RoundId>9</RoundId>
  <ScoreA>sample string 13</ScoreA>
  <ScoreB>sample string 14</ScoreB>
  <SeedA>sample string 6</SeedA>
  <SeedB>sample string 7</SeedB>
  <Stats>
    <AverageA>1.1</AverageA>
    <AverageB>1.1</AverageB>
    <DoubleAttemptsA>1</DoubleAttemptsA>
    <DoubleAttemptsB>1</DoubleAttemptsB>
    <DoubleHitsA>1</DoubleHitsA>
    <DoubleHitsB>1</DoubleHitsB>
    <FinishesA xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </FinishesA>
    <FinishesB xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </FinishesB>
    <NumberOfHunderdEightiesA>1</NumberOfHunderdEightiesA>
    <NumberOfHunderdEightiesB>1</NumberOfHunderdEightiesB>
    <ScoresA xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </ScoresA>
    <ScoresB xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </ScoresB>
  </Stats>
</MatchViewModel>