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.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
translations

if true then the translations that are in the system will be included.

boolean

Default value is False

version

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of PlayerDetailViewModel
NameDescriptionTypeAdditional information
PlayerId

Id of the player. This id is unique, but may be changes between version updates of the application.

integer

None.

Key

The unique key of the player. While the id of the player is also unique, this key will never change due to database reconfigurations.

integer

None.

FullName

The name of the player

string

None.

FirstName

Given name of the player

string

None.

LastName

Last name of the player. Can have additional indicators to distinguish between players with the same first and last name. The indicators can be a country, place, year, snr, jnr..

string

None.

SurName

The surname of the player.

string

None.

NickName

Nickname.

string

None.

MartialStatus

Martial status

string

None.

Kids

His kids

string

None.

Job

Job title.

string

None.

Hobby

Hobbies.

string

None.

Darts

Dart used.

string

None.

Music

Music used.

string

None.

LastUpdated

date

None.

Site

Personal site.

string

None.

Twitter

Twitter account.

string

None.

HomeTown

Current home town.

string

None.

Nationality

The nationality of the player.

string

None.

CountryCode

The nationality of the player represented by the country code. For example NL for the Netherlands.

string

None.

Description

Description of the player. This text field is a multi language field and should be switchable via the header text.

string

None.

DescriptionTranslations

Dictionary of string [key] and string [value]

None.

DateOfBirth

date

None.

Age

integer

None.

PlaceOfBirth

string

None.

DateOfDecease

date

None.

Gender

Male, Female

GenderType

None.

Lateral

Left, Right, Both, Unknown

FootType

None.

Rol

The players role: Player,Referee, Player and Referee, Fictional

RolType

None.

Status

Player status: Active, Retired, Deceased, Unknown

StatusType

None.

Attachment

A photo of the player.

string

None.

AttachmentContentType

string

None.

AttachmentPhotographer

string

None.

AttachmentDescription

string

None.

AttachmentThrow

string

None.

AttachmentThrowContentType

string

None.

AttachmentThrowPhotographer

string

None.

AttachmentThrowDescription

string

None.

AttachmentPassport

string

None.

AttachmentPassportContentType

string

None.

AttachmentPassportPhotographer

string

None.

AttachmentPassportDescription

string

None.

AttachmentWDF

string

None.

AttachmentWDFContentType

string

None.

AttachmentWDFPhotographer

string

None.

AttachmentWDFDescription

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:
[
  {
    "PlayerId": 1,
    "Key": 2,
    "FullName": "sample string 3",
    "FirstName": "sample string 4",
    "LastName": "sample string 5",
    "SurName": "sample string 6",
    "NickName": "sample string 7",
    "Darts": "sample string 12",
    "Music": "sample string 13",
    "LastUpdated": "2023-12-07T08:35:53.7462218+01:00",
    "Site": "sample string 15",
    "Twitter": "sample string 16",
    "HomeTown": "sample string 17",
    "Nationality": "sample string 18",
    "CountryCode": "sample string 19",
    "Description": "sample string 20",
    "DescriptionTranslations": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    },
    "Age": 0,
    "PlaceOfBirth": "sample string 21",
    "Gender": 0,
    "Lateral": 0,
    "Rol": 0,
    "Status": 0,
    "Meta": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    }
  },
  {
    "PlayerId": 1,
    "Key": 2,
    "FullName": "sample string 3",
    "FirstName": "sample string 4",
    "LastName": "sample string 5",
    "SurName": "sample string 6",
    "NickName": "sample string 7",
    "Darts": "sample string 12",
    "Music": "sample string 13",
    "LastUpdated": "2023-12-07T08:35:53.7462218+01:00",
    "Site": "sample string 15",
    "Twitter": "sample string 16",
    "HomeTown": "sample string 17",
    "Nationality": "sample string 18",
    "CountryCode": "sample string 19",
    "Description": "sample string 20",
    "DescriptionTranslations": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    },
    "Age": 0,
    "PlaceOfBirth": "sample string 21",
    "Gender": 0,
    "Lateral": 0,
    "Rol": 0,
    "Status": 0,
    "Meta": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfPlayerDetailViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models">
  <PlayerDetailViewModel>
    <Attachment>sample string 22</Attachment>
    <AttachmentContentType>sample string 23</AttachmentContentType>
    <AttachmentDescription>sample string 25</AttachmentDescription>
    <AttachmentPassport>sample string 30</AttachmentPassport>
    <AttachmentPassportContentType>sample string 31</AttachmentPassportContentType>
    <AttachmentPassportDescription>sample string 33</AttachmentPassportDescription>
    <AttachmentPassportPhotographer>sample string 32</AttachmentPassportPhotographer>
    <AttachmentPhotographer>sample string 24</AttachmentPhotographer>
    <AttachmentThrow>sample string 26</AttachmentThrow>
    <AttachmentThrowContentType>sample string 27</AttachmentThrowContentType>
    <AttachmentThrowDescription>sample string 29</AttachmentThrowDescription>
    <AttachmentThrowPhotographer>sample string 28</AttachmentThrowPhotographer>
    <AttachmentWDF>sample string 34</AttachmentWDF>
    <AttachmentWDFContentType>sample string 35</AttachmentWDFContentType>
    <AttachmentWDFDescription>sample string 37</AttachmentWDFDescription>
    <AttachmentWDFPhotographer>sample string 36</AttachmentWDFPhotographer>
    <CountryCode>sample string 19</CountryCode>
    <Darts>sample string 12</Darts>
    <DateOfBirth>2023-12-07T08:35:53.7462218+01:00</DateOfBirth>
    <DateOfDecease>2023-12-07T08:35:53.7462218+01:00</DateOfDecease>
    <Description>sample string 20</Description>
    <DescriptionTranslations xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>sample string 2</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value>sample string 4</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </DescriptionTranslations>
    <FirstName>sample string 4</FirstName>
    <FullName>sample string 3</FullName>
    <Gender>Male</Gender>
    <Hobby>sample string 11</Hobby>
    <HomeTown>sample string 17</HomeTown>
    <Job>sample string 10</Job>
    <Key>2</Key>
    <Kids>sample string 9</Kids>
    <LastName>sample string 5</LastName>
    <LastUpdated>2023-12-07T08:35:53.7462218+01:00</LastUpdated>
    <Lateral>Left</Lateral>
    <MartialStatus>sample string 8</MartialStatus>
    <Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>sample string 2</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value>sample string 4</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </Meta>
    <Music>sample string 13</Music>
    <Nationality>sample string 18</Nationality>
    <NickName>sample string 7</NickName>
    <PlaceOfBirth>sample string 21</PlaceOfBirth>
    <PlayerId>1</PlayerId>
    <Rol>Player</Rol>
    <Site>sample string 15</Site>
    <Status>Active</Status>
    <SurName>sample string 6</SurName>
    <Twitter>sample string 16</Twitter>
  </PlayerDetailViewModel>
  <PlayerDetailViewModel>
    <Attachment>sample string 22</Attachment>
    <AttachmentContentType>sample string 23</AttachmentContentType>
    <AttachmentDescription>sample string 25</AttachmentDescription>
    <AttachmentPassport>sample string 30</AttachmentPassport>
    <AttachmentPassportContentType>sample string 31</AttachmentPassportContentType>
    <AttachmentPassportDescription>sample string 33</AttachmentPassportDescription>
    <AttachmentPassportPhotographer>sample string 32</AttachmentPassportPhotographer>
    <AttachmentPhotographer>sample string 24</AttachmentPhotographer>
    <AttachmentThrow>sample string 26</AttachmentThrow>
    <AttachmentThrowContentType>sample string 27</AttachmentThrowContentType>
    <AttachmentThrowDescription>sample string 29</AttachmentThrowDescription>
    <AttachmentThrowPhotographer>sample string 28</AttachmentThrowPhotographer>
    <AttachmentWDF>sample string 34</AttachmentWDF>
    <AttachmentWDFContentType>sample string 35</AttachmentWDFContentType>
    <AttachmentWDFDescription>sample string 37</AttachmentWDFDescription>
    <AttachmentWDFPhotographer>sample string 36</AttachmentWDFPhotographer>
    <CountryCode>sample string 19</CountryCode>
    <Darts>sample string 12</Darts>
    <DateOfBirth>2023-12-07T08:35:53.7462218+01:00</DateOfBirth>
    <DateOfDecease>2023-12-07T08:35:53.7462218+01:00</DateOfDecease>
    <Description>sample string 20</Description>
    <DescriptionTranslations xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>sample string 2</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value>sample string 4</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </DescriptionTranslations>
    <FirstName>sample string 4</FirstName>
    <FullName>sample string 3</FullName>
    <Gender>Male</Gender>
    <Hobby>sample string 11</Hobby>
    <HomeTown>sample string 17</HomeTown>
    <Job>sample string 10</Job>
    <Key>2</Key>
    <Kids>sample string 9</Kids>
    <LastName>sample string 5</LastName>
    <LastUpdated>2023-12-07T08:35:53.7462218+01:00</LastUpdated>
    <Lateral>Left</Lateral>
    <MartialStatus>sample string 8</MartialStatus>
    <Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>sample string 2</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value>sample string 4</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </Meta>
    <Music>sample string 13</Music>
    <Nationality>sample string 18</Nationality>
    <NickName>sample string 7</NickName>
    <PlaceOfBirth>sample string 21</PlaceOfBirth>
    <PlayerId>1</PlayerId>
    <Rol>Player</Rol>
    <Site>sample string 15</Site>
    <Status>Active</Status>
    <SurName>sample string 6</SurName>
    <Twitter>sample string 16</Twitter>
  </PlayerDetailViewModel>
</ArrayOfPlayerDetailViewModel>