Pair

APIDescription
GET api/v{version}/pair

Get list of all the available couples.

GET api/v{version}/pair/details/{id}

Get some more details about a couple.

TournamentType

Tournament related endpoints.

APIDescription
GET api/v{version}/tournamenttype

Get all available tournamenttypes

GET api/v{version}/tournamenttype/{id}

Get the information of a specific tournamenttype.

Account

APIDescription
POST api/v{version}/login

Login on a session.

POST api/v{version}/token

No documentation available.

Stream

APIDescription
GET api/v{version}/updates

Get a stream that contains realtime changes to the system. The changes that will be send are related to the competition, season and players. The example of a stream: data:{"User":"","Entity":"HeartBeat","Modification":"Added","TimeStamp":"08-10-2015 10:48:14","Id":0} data:{"User":"","Entity":"HeartBeat","Modification":"Added","TimeStamp":"08-10-2015 10:48:24","Id":1} data:{"User":"","Entity":"HeartBeat","Modification":"Added","TimeStamp":"08-10-2015 10:48:34","Id":2} data:{"User":"JohnDo","Entity":"Competition","Modification":"Added","TimeStamp":"08-10-2015 10:48:43","Id":284} data:{"User":"","Entity":"HeartBeat","Modification":"Added","TimeStamp":"08-10-2015 10:48:44","Id":3} data:{"User":"JohnDo","Entity":"Competition","Modification":"Modified","TimeStamp":"08-10-2015 10:48:48","Id":284} data:{"User":"JohnDo","Entity":"Competition","Modification":"Deleted","TimeStamp":"08-10-2015 10:48:53","Id":284} data:{"User":"","Entity":"HeartBeat","Modification":"Added","TimeStamp":"08-10-2015 10:48:54","Id":4} The stream contains an user, an entity type, a modification type, a timestamp and a related id. A sample implementation to read this stream look here: http://weblogs.asp.net/andresv/asynchronous-streaming-in-asp-net-webapi

GET api/v{version}/last?date={date}&removeduplicates={removeduplicates}&filter={filter}

Get the last changes to the database.

GET api/v{version}/changes?date={date}&removeduplicates={removeduplicates}&filter={filter}

Get the last changes to the database, including the entity id and their parent if applicable.

Area

APIDescription
GET api/v{version}/areas

Get list of all the available areas.

Player

APIDescription
GET api/v{version}/player?translations={translations}&statusType={statusType}&page={page}&pageSize={pageSize}

Get list of all the available players.

GET api/v{version}/player/all?translations={translations}

Method to retrieve all the information of all the players. Added for the setup of the mastecaller site.

GET api/v{version}/player/details/{id}?translations={translations}

Provides details about a player.

GET api/v{version}/player/findbykey/{key}

Lookup a player by its key. A key is a uniq identifier that will not change

GET api/v{version}/player/findbyname/{text}

Lookup a player by its name. The name can be a part of the players name, but it has to be uniq.

GET api/v{version}/player/{id}/basic

Provides details about a player.

GET api/v{version}/player/{id}/stats

Get the stats of a player.

GET api/v{version}/player/stats?ids[0]={ids[0]}&ids[1]={ids[1]}

No documentation available.

GET api/v{version}/player/{id}/results

Return the highest positions in the played tournaments.

GET api/v{version}/player/{id}/toplay?count={count}

No documentation available.

GET api/v{version}/player/toplay?ids[0]={ids[0]}&ids[1]={ids[1]}&count={count}

No documentation available.

GET api/v{version}/player/{id}/lastmatches?date={date}&count={count}

Get the last played matches of a player.

GET api/v{version}/player/lastmatches?ids[0]={ids[0]}&ids[1]={ids[1]}&date={date}&count={count}

Get the last played matches of players

GET api/v{version}/player/{id}/upcomingmatches?date={date}&count={count}

Get the first to play matches of players

GET api/v{version}/player/upcomingmatches?ids[0]={ids[0]}&ids[1]={ids[1]}&date={date}&count={count}

Get the last played matches of players

GET api/v{version}/player/{id}/headtohead/{opponent}?date={date}&count={count}

Get head 2 head

GET api/v{version}/player/{id}/titles

Return all the titles of a player.

GET api/v{version}/player/titles?ids[0]={ids[0]}&ids[1]={ids[1]}

No documentation available.

GET api/v{version}/player/{id}/averages

No documentation available.

GET api/v{version}/player/averages?ids[0]={ids[0]}&ids[1]={ids[1]}

No documentation available.

GET api/v{version}/player/{id}/highfinishes

No documentation available.

GET api/v{version}/player/highfinishes?ids[0]={ids[0]}&ids[1]={ids[1]}

No documentation available.

GET api/v{version}/player/{id}/ninedarts

No documentation available.

GET api/v{version}/player/ninedarts?ids[0]={ids[0]}&ids[1]={ids[1]}

No documentation available.

GET api/v{version}/player/{id}/onehundredandeight

No documentation available.

GET api/v{version}/player/onehundredandeight?ids[0]={ids[0]}&ids[1]={ids[1]}

No documentation available.

GET api/v{version}/callers?translations={translations}

Get all the callers.

GET api/v{version}/player/findbymemberids?memberids[0]={memberids[0]}&memberids[1]={memberids[1]}

No documentation available.

GET api/v{version}/player/fuzzyfind?name={name}&dateOfBirth={dateOfBirth}&nationality={nationality}&ratio={ratio}

Find a player by name

GET api/v{version}/player/fuzzyrankingfind?name={name}&ranking={ranking}&dateOfBirth={dateOfBirth}&nationality={nationality}&ratio={ratio}

Get the ranking information of a certain player in a certain ranking.

PUT api/v{version}/player/setmemberid?playerId={playerId}&memberId={memberId}

Update the (dartconnect) member id.

GET api/v{version}/player/props?includeImages={includeImages}

Get some basic properties for all player in the system. This includes: A name, nationality, birthday, gender and optional an image.

GET api/v{version}/player/props/{id}?includeImages={includeImages}

Get some basic properties of a player. This includes: name, nationality, birthday, gender and optional an image.

PUT api/v{version}/player

Add new players to the system. The players require a given and last name. The system will check on the following properties to prevent duplicatates: - email - combination: given name, last name ,nationality, date of birth - (dartconnect) member id. The user will become active by default.

Tournament

Tournament related endpoints.

APIDescription
GET api/v{version}/tournament

Get all available tournaments

GET api/v{version}/tournament/seasons/{id}

Get the information of a specific tournament.

GET api/v{version}/tournament/seasons

Get the tournaments and the related seasons.

GET api/v{version}/tournament/seasons/{start}/{end}

Get the tournaments and the related seasons for a couple of years. The season start year will be between (includes) the start- and endyear.

Round

APIDescription
GET api/v{version}/round/{id}

Get the played rounds of a tournament. For example the PDC World Championship 2002 will return Final, Semi-Finals, Quarter-finals, Last16, Last 32.

GET api/v{version}/round/details/{id}?matchstats={matchstats}

Get the matches of a certain round.

GET api/v{version}/season/rounds/{id}?matchstats={matchstats}

Get all the rounds and the related matches of a season.

POST api/v{version}/rounds

No documentation available.

Schedule

Schedule related endpoints.

APIDescription
GET api/v{version}/schedule/tournament/{year}

Get the schedules of all the defined tournaments

GET api/v{version}/schedule/tournament_by_rankings/{year}/{ranking}

Get the schedules of all the defined tournaments with a sepecifc ranking assigned

GET api/v{version}/schedule/season/{year}

Get the schedules of all the defined season which are not part of a tournament.

GET api/v{version}/schedule/season_by_rankings/{year}/{ranking}

Get the schedules of all the defined season which a linked ranking which are not part of a tournament.

Organisation

APIDescription
GET api/v{version}/organisation?translations={translations}

Get all the available dart organisations from the system.

Competition

APIDescription
GET api/v{version}/competition?page={page}&pageSize={pageSize}

Get list of all the available competitions. A request for more details requires a subscription.

GET api/v{version}/competition/tournament/{tournament}?page={page}&pageSize={pageSize}

Get the competitions that are related to a tournament.

GET api/v{version}/competition/organisation/{organisation}?page={page}&pageSize={pageSize}

Get the competitions that are related to an organisation. See organisation api for more details

GET api/v{version}/competition/ranking/{ranking}?page={page}&pageSize={pageSize}

No documentation available.

GET api/v{version}/competition/tournamenttype/{tournamenttypes}?page={page}&pageSize={pageSize}

No documentation available.

GET api/v{version}/competition/tournamentgroup/{groups}?page={page}&pageSize={pageSize}

No documentation available.

GET api/v{version}/competition/highdetail?translations={translations}

Get the competitions with the match results. A request for more details requires a subscription.

GET api/v{version}/competition/lowdetail?translations={translations}

Get the competitions that do not have match results, only the winner and runner-up. A request for more details requires a subscription.

GET api/v{version}/competition/details/{id}?translations={translations}

Get some more details about a competition.

GET api/v{version}/competition/timestamps?tournamenttypes={tournamenttypes}

No documentation available.

Season

APIDescription
GET api/v{version}/season?id={id}&translations={translations}&seasonStatus={seasonStatus}&page={page}&pageSize={pageSize}

Get the seasons for a competion

GET api/v{version}/season/{id}/prizes

Get the prizes of a season. The prizes can be linked to the ranking, nine darts, high finishes, hunderd and eighthy and 'other' prizes.

GET api/v{version}/season/{id}/prizes/ninedarters

Get the ninedarters of a season.

GET api/v{version}/season/{id}/prizes/highfinishes

Get the high finishes of a season.

GET api/v{version}/season/{id}/prizes/onehunderdandeighty

Get the 180ers of a season.

GET api/v{version}/season/{id}/prizes/other

Get the other prizes of a season.

GET api/v{version}/season/{id}/prizeoverview

Get the prizes of a season.

GET api/v{version}/season/{id}/stats

Get the 180ers of a season.

GET api/v{version}/season/{id}/highfinishes

Get the high finishes of a season.

GET api/v{version}/season/{id}/onehunderdandeight

Get the 180ers of a season.

GET api/v{version}/season/overview

Get an overview of all the seasons.

GET api/v{version}/season/overview/{id}

No documentation available.

GET api/v{version}/season/timestamps?tournamenttypes={tournamenttypes}&since={since}

No documentation available.

POST api/v{version}/season/overview

No documentation available.

PUT api/v{version}/season/{id}/status/{status}

No documentation available.

PUT api/v{version}/season

No documentation available.

PUT api/v{version}/season/bracket

No documentation available.

GET api/v{version}/season/text/{id}

No documentation available.

GET api/v{version}/season/details/{id}?translations={translations}

Get the season details. Contains rounds and matches.

GET api/v{version}/season/matchdetails/{id}?translations={translations}

Get the match details for a certain season.

GET api/v{version}/season/competitors?id={id}

Get the competitors of a season.

GET api/v{version}/season/{id}/competitors

Get the competitors of a season.

GET api/v{version}/season/{id}/pairs

Get the pairs of a season.

GET api/v{version}/season/{id}/classification

Get the classification of a season.

GET api/v{version}/season/{id}/rankings

Get the pairs of a season.

GET api/v{version}/season/{id}/player/{player}?playerId={playerId}

Obsolete: Get the information of a player for a certain season.

Ranking

Get the information related to the rankings. A ranking can be build on request or a saved version can be retrieved. The saved versions are stored in runs. There is always one run with the status live. This run is kept up to date and is only rebuild if a season that is linked to the ranking is changed.

APIDescription
GET api/v{version}/rankings

Get all the rankings known by the system.

GET api/v{version}/rankings/lookup/{name}

Get the information about a ranking.

GET api/v{version}/rankings/{id}?date={date}&includeDetails={includeDetails}&includeNoPoints={includeNoPoints}

Determine the ranking for a specific date. This ranking is calculated with the current data in the database.

GET api/v{version}/rankings/runs/{id}

Get all the available ranking runs for a ranking. A run can either be live, dirty, locked or saved. The live ranking runs are describe the current state as provided by the data in the database. A dirty ranking, is a live ranking with of with the underlying data is changed. The ranking should be recalculated to make it 'live' again. Locked and saved ranking runs are stored live rankings. They will not be changed.

GET api/v{version}/rankings/run/latest/{id}

Get the information about a ranking run.

GET api/v{version}/rankings/run/{id}?includeDetails={includeDetails}&includeNoPoints={includeNoPoints}

Get the ranking of a specific ranking run.

GET api/v{version}/rankings/latest/{id}?includeDetails={includeDetails}&includeNoPoints={includeNoPoints}&recalculateIfNeeded={recalculateIfNeeded}

Get the latest ranking run by ranking id. The lastest run is kept up to date. Changes in the related seasons will trigger a re-calculation of the ranking.

GET api/v{version}/rankings/latestbyname/{name}?includeDetails={includeDetails}&includeNoPoints={includeNoPoints}&recalculateIfNeeded={recalculateIfNeeded}

Get the latest ranking run by name. The lastest run is kept up to date. Changes in the related seasons will trigger a re-calculation of the ranking.

GET api/v{version}/ranking/{rankingId}/player/{playerId}

Get the latest position known in a ranking for a certain player

GET api/v{version}/ranking/{rankingId}/member/{member}

Get the latest position known in a ranking for a certain player.

GET api/v{version}/ranking/player/{playerId}?date={date}

Get the position in all the rankings for a player.

GET api/v{version}/ranking/{rankingId}/player/{playerId}/all

No documentation available.

Seeding

Get the information related to the rankings. A ranking can be build on request or a saved version can be retrieved. The saved versions are stored in runs. There is always one run with the status live. This run is kept up to date and is only rebuild if a season that is linked to the ranking is changed.

APIDescription
POST api/v{version}/seeding

Get the rankings used by the system.

GET api/v{version}/seeding/ranking/{id}

Get the ranking used by a seeding for a specifc season.

Match

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

Get detailed information about a match.

GET api/v{version}/matches/bydate?from={from}&to={to}

Get matches played in a period of time. The maximum is a month. If the interval is bigger then a month the matches will be limited to a month relative to the end date.

GET api/v{version}/matches/changed?from={from}&to={to}

No documentation available.

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

Get matches played in a season.

GET api/v{version}/matches/byplayer/{playerId}

Get all player matches.

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

Get all player matches of a season.

GET api/v{version}/matches/byplayer/{playerId}/vs/{opponentPlayerId}

Get head to head matches of two players.

GET api/v{version}/match/details/{id}

Obsolete: Get match details.

TournamentTypeGroup

Tournament related endpoints.

APIDescription
GET api/v{version}/tournamenttypegroup?page={page}&pageSize={pageSize}

Get all available tournamenttypes

GET api/v{version}/tournamenttypegroup/{id}

Get the information of a specific tournamenttype.

Venue

APIDescription
GET api/v{version}/venue?page={page}&pageSize={pageSize}

Get all the venues from the system.

GET api/v{version}/venue/details?id={id}

Get the details of a venue.