GET api/v{version}/player

Get list of all the available players. Not all the players may be applicable to the users subscription. The get the details of the player the user requires a subscription that includes the player.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of PlayerViewModel
NameDescriptionTypeAdditional information
PlayerId

integer

None.

Key

integer

None.

FullName

string

None.

Nationality

string

None.

NationalityCode

string

None.

Attachment

string

None.

AttachmentContentType

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "PlayerId": 1,
    "Key": 2,
    "FullName": "sample string 3",
    "Nationality": "sample string 4",
    "NationalityCode": "sample string 5",
    "Attachment": "sample string 6",
    "AttachmentContentType": "sample string 7"
  },
  {
    "PlayerId": 1,
    "Key": 2,
    "FullName": "sample string 3",
    "Nationality": "sample string 4",
    "NationalityCode": "sample string 5",
    "Attachment": "sample string 6",
    "AttachmentContentType": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPlayerViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv1.Models">
  <PlayerViewModel>
    <Attachment>sample string 6</Attachment>
    <AttachmentContentType>sample string 7</AttachmentContentType>
    <FullName>sample string 3</FullName>
    <Key>2</Key>
    <Nationality>sample string 4</Nationality>
    <NationalityCode>sample string 5</NationalityCode>
    <PlayerId>1</PlayerId>
  </PlayerViewModel>
  <PlayerViewModel>
    <Attachment>sample string 6</Attachment>
    <AttachmentContentType>sample string 7</AttachmentContentType>
    <FullName>sample string 3</FullName>
    <Key>2</Key>
    <Nationality>sample string 4</Nationality>
    <NationalityCode>sample string 5</NationalityCode>
    <PlayerId>1</PlayerId>
  </PlayerViewModel>
</ArrayOfPlayerViewModel>