GET api/v{version}/player/{id}/basic
Provides details about a player.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
player id |
integer |
Required |
version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
PlayerBasicViewModelName | Description | Type | Additional 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. |
MemberId |
Dart connect member id |
string |
None. |
FullName |
The name 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. |
Lateral |
Foot: Left, Right, Both, Unknown |
FootType |
None. |
Site |
Personal site. |
string |
None. |
Twitter account. |
string |
None. |
|
Music |
Music used. |
string |
None. |
HomeTown |
Current home town. |
string |
None. |
Nationality |
The nationality of the player. |
string |
None. |
NationalityCode | string |
None. |
|
CountryCode |
The nationality of the player represented by the country code. For example NL for the Netherlands. |
string |
None. |
DateOfBirth | date |
None. |
|
Age | integer |
None. |
|
PlaceOfBirth | string |
None. |
|
Gender |
Male, Female |
GenderType |
None. |
Rol |
Player, Referee, Both, Fictional |
RolType |
None. |
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
{ "PlayerId": 1, "Key": 2, "MemberId": "sample string 3", "FullName": "sample string 4", "NickName": "sample string 5", "Darts": "sample string 10", "Lateral": 0, "Site": "sample string 11", "Twitter": "sample string 12", "Music": "sample string 13", "HomeTown": "sample string 14", "Nationality": "sample string 15", "NationalityCode": "sample string 16", "CountryCode": "sample string 16", "Age": 0, "PlaceOfBirth": "sample string 17", "Gender": 0, "Rol": 0, "Status": 0, "Meta": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } }
application/xml, text/xml
<PlayerBasicViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models"> <Attachment>sample string 18</Attachment> <AttachmentContentType>sample string 19</AttachmentContentType> <AttachmentDescription>sample string 21</AttachmentDescription> <AttachmentPassport>sample string 26</AttachmentPassport> <AttachmentPassportContentType>sample string 27</AttachmentPassportContentType> <AttachmentPassportDescription>sample string 29</AttachmentPassportDescription> <AttachmentPassportPhotographer>sample string 28</AttachmentPassportPhotographer> <AttachmentPhotographer>sample string 20</AttachmentPhotographer> <AttachmentThrow>sample string 22</AttachmentThrow> <AttachmentThrowContentType>sample string 23</AttachmentThrowContentType> <AttachmentThrowDescription>sample string 25</AttachmentThrowDescription> <AttachmentThrowPhotographer>sample string 24</AttachmentThrowPhotographer> <AttachmentWDF>sample string 30</AttachmentWDF> <AttachmentWDFContentType>sample string 31</AttachmentWDFContentType> <AttachmentWDFDescription>sample string 33</AttachmentWDFDescription> <AttachmentWDFPhotographer>sample string 32</AttachmentWDFPhotographer> <CountryCode>sample string 16</CountryCode> <Darts>sample string 10</Darts> <DateOfBirth>2023-09-30T06:04:13.4317695+02:00</DateOfBirth> <FullName>sample string 4</FullName> <Gender>Male</Gender> <Hobby>sample string 9</Hobby> <HomeTown>sample string 14</HomeTown> <Job>sample string 8</Job> <Key>2</Key> <Kids>sample string 7</Kids> <Lateral>Left</Lateral> <MartialStatus>sample string 6</MartialStatus> <MemberId>sample string 3</MemberId> <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> <Music>sample string 13</Music> <Nationality>sample string 15</Nationality> <NickName>sample string 5</NickName> <PlaceOfBirth>sample string 17</PlaceOfBirth> <PlayerId>1</PlayerId> <Rol>Player</Rol> <Site>sample string 11</Site> <Status>Active</Status> <Twitter>sample string 12</Twitter> </PlayerBasicViewModel>