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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

version

string

None.

Body Parameters

None.

Response Information

Resource Description

PairDetailViewModel
NameDescriptionTypeAdditional information
PairId

integer

None.

Key

integer

None.

Nationality

The nationality of the pair.

string

None.

NationalityCode

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

string

None.

Players

Collection of PlayerDetailViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "PairId": 1,
  "Key": 2,
  "Nationality": "sample string 3",
  "NationalityCode": "sample string 4",
  "Players": [
    {
      "PlayerId": 1,
      "Key": 2,
      "FullName": "sample string 3",
      "FirstName": "sample string 4",
      "MiddleName": "sample string 5",
      "LastName": "sample string 6",
      "NickName": "sample string 7",
      "MartialStatus": "sample string 8",
      "Kids": "sample string 9",
      "Job": "sample string 10",
      "Hobby": "sample string 11",
      "Darts": "sample string 12",
      "Site": "sample string 13",
      "Twitter": "sample string 14",
      "Music": "sample string 15",
      "HomeTown": "sample string 16",
      "Nationality": "sample string 17",
      "CountryCode": "sample string 18",
      "Description": "sample string 19",
      "DescriptionTranslations": {
        "sample string 1": "sample string 2",
        "sample string 3": "sample string 4"
      },
      "DateOfBirth": "2019-02-19T04:01:19.6803986+01:00",
      "PlaceOfBirth": "sample string 20",
      "DateOfDecease": "2019-02-19T04:01:19.6803986+01:00",
      "Gender": 0,
      "Lateral": 0,
      "Rol": 0,
      "Status": 0,
      "Attachment": "sample string 21",
      "AttachmentContentType": "sample string 22",
      "AttachmentPhotographer": "sample string 23",
      "AttachmentDescription": "sample string 24",
      "AttachmentThrow": "sample string 25",
      "AttachmentThrowContentType": "sample string 26",
      "AttachmentThrowPhotographer": "sample string 27",
      "AttachmentThrowDescription": "sample string 28",
      "AttachmentPassport": "sample string 29",
      "AttachmentPassportContentType": "sample string 30",
      "AttachmentPassportPhotographer": "sample string 31",
      "AttachmentPassportDescription": "sample string 32",
      "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",
      "MiddleName": "sample string 5",
      "LastName": "sample string 6",
      "NickName": "sample string 7",
      "MartialStatus": "sample string 8",
      "Kids": "sample string 9",
      "Job": "sample string 10",
      "Hobby": "sample string 11",
      "Darts": "sample string 12",
      "Site": "sample string 13",
      "Twitter": "sample string 14",
      "Music": "sample string 15",
      "HomeTown": "sample string 16",
      "Nationality": "sample string 17",
      "CountryCode": "sample string 18",
      "Description": "sample string 19",
      "DescriptionTranslations": {
        "sample string 1": "sample string 2",
        "sample string 3": "sample string 4"
      },
      "DateOfBirth": "2019-02-19T04:01:19.6803986+01:00",
      "PlaceOfBirth": "sample string 20",
      "DateOfDecease": "2019-02-19T04:01:19.6803986+01:00",
      "Gender": 0,
      "Lateral": 0,
      "Rol": 0,
      "Status": 0,
      "Attachment": "sample string 21",
      "AttachmentContentType": "sample string 22",
      "AttachmentPhotographer": "sample string 23",
      "AttachmentDescription": "sample string 24",
      "AttachmentThrow": "sample string 25",
      "AttachmentThrowContentType": "sample string 26",
      "AttachmentThrowPhotographer": "sample string 27",
      "AttachmentThrowDescription": "sample string 28",
      "AttachmentPassport": "sample string 29",
      "AttachmentPassportContentType": "sample string 30",
      "AttachmentPassportPhotographer": "sample string 31",
      "AttachmentPassportDescription": "sample string 32",
      "Meta": {
        "sample string 1": "sample string 2",
        "sample string 3": "sample string 4"
      }
    }
  ]
}

application/xml, text/xml

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