GET api/v{version}/pair/details/{id}
Get some more details about a couple.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
couple id |
integer |
Required |
version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
PairDetailViewModelName | Description | Type | Additional 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": [ { "Nationality": "sample string 4", "PlayerId": 5, "Key": 6, "FirstName": "sample string 7", "LastName": "sample string 8", "NickName": "sample string 9", "Darts": "sample string 15", "Music": "sample string 16", "Gender": 0, "Lateral": 0, "Rol": 0, "Status": 0, "LastUpdated": "2023-04-01T02:21:45.294541+02:00", "FullName": "sample string 20", "CountryCode": "sample string 23" }, { "Nationality": "sample string 4", "PlayerId": 5, "Key": 6, "FirstName": "sample string 7", "LastName": "sample string 8", "NickName": "sample string 9", "Darts": "sample string 15", "Music": "sample string 16", "Gender": 0, "Lateral": 0, "Rol": 0, "Status": 0, "LastUpdated": "2023-04-01T02:21:45.294541+02:00", "FullName": "sample string 20", "CountryCode": "sample string 23" } ] }
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 1</Attachment> <AttachmentContentType>sample string 24</AttachmentContentType> <AttachmentDescription>sample string 26</AttachmentDescription> <AttachmentPassport>sample string 30</AttachmentPassport> <AttachmentPassportContentType>sample string 31</AttachmentPassportContentType> <AttachmentPassportDescription>sample string 33</AttachmentPassportDescription> <AttachmentPassportPhotographer>sample string 32</AttachmentPassportPhotographer> <AttachmentPhotographer>sample string 25</AttachmentPhotographer> <AttachmentThrow>sample string 2</AttachmentThrow> <AttachmentThrowContentType>sample string 27</AttachmentThrowContentType> <AttachmentThrowDescription>sample string 29</AttachmentThrowDescription> <AttachmentThrowPhotographer>sample string 28</AttachmentThrowPhotographer> <AttachmentWDF>sample string 3</AttachmentWDF> <AttachmentWDFContentType>sample string 34</AttachmentWDFContentType> <AttachmentWDFDescription>sample string 36</AttachmentWDFDescription> <AttachmentWDFPhotographer>sample string 35</AttachmentWDFPhotographer> <CountryCode>sample string 23</CountryCode> <Darts>sample string 15</Darts> <DateOfBirth>2023-04-01T02:21:45.294541+02:00</DateOfBirth> <DateOfDecease>2023-04-01T02:21:45.294541+02:00</DateOfDecease> <Description>sample string 17</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 7</FirstName> <FullName>sample string 20</FullName> <Gender>Male</Gender> <Hobby>sample string 14</Hobby> <HomeTown>sample string 10</HomeTown> <Job>sample string 13</Job> <Key>6</Key> <Kids>sample string 12</Kids> <LastName>sample string 8</LastName> <LastUpdated>2023-04-01T02:21:45.294541+02:00</LastUpdated> <Lateral>Left</Lateral> <MartialStatus>sample string 11</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> <Music>sample string 16</Music> <Nationality>sample string 4</Nationality> <NickName>sample string 9</NickName> <PlaceOfBirth>sample string 18</PlaceOfBirth> <PlayerId>5</PlayerId> <Rol>Player</Rol> <Site>sample string 21</Site> <Status>Active</Status> <Twitter>sample string 22</Twitter> </PlayerDetailViewModel> <PlayerDetailViewModel> <Attachment>sample string 1</Attachment> <AttachmentContentType>sample string 24</AttachmentContentType> <AttachmentDescription>sample string 26</AttachmentDescription> <AttachmentPassport>sample string 30</AttachmentPassport> <AttachmentPassportContentType>sample string 31</AttachmentPassportContentType> <AttachmentPassportDescription>sample string 33</AttachmentPassportDescription> <AttachmentPassportPhotographer>sample string 32</AttachmentPassportPhotographer> <AttachmentPhotographer>sample string 25</AttachmentPhotographer> <AttachmentThrow>sample string 2</AttachmentThrow> <AttachmentThrowContentType>sample string 27</AttachmentThrowContentType> <AttachmentThrowDescription>sample string 29</AttachmentThrowDescription> <AttachmentThrowPhotographer>sample string 28</AttachmentThrowPhotographer> <AttachmentWDF>sample string 3</AttachmentWDF> <AttachmentWDFContentType>sample string 34</AttachmentWDFContentType> <AttachmentWDFDescription>sample string 36</AttachmentWDFDescription> <AttachmentWDFPhotographer>sample string 35</AttachmentWDFPhotographer> <CountryCode>sample string 23</CountryCode> <Darts>sample string 15</Darts> <DateOfBirth>2023-04-01T02:21:45.294541+02:00</DateOfBirth> <DateOfDecease>2023-04-01T02:21:45.294541+02:00</DateOfDecease> <Description>sample string 17</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 7</FirstName> <FullName>sample string 20</FullName> <Gender>Male</Gender> <Hobby>sample string 14</Hobby> <HomeTown>sample string 10</HomeTown> <Job>sample string 13</Job> <Key>6</Key> <Kids>sample string 12</Kids> <LastName>sample string 8</LastName> <LastUpdated>2023-04-01T02:21:45.294541+02:00</LastUpdated> <Lateral>Left</Lateral> <MartialStatus>sample string 11</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> <Music>sample string 16</Music> <Nationality>sample string 4</Nationality> <NickName>sample string 9</NickName> <PlaceOfBirth>sample string 18</PlaceOfBirth> <PlayerId>5</PlayerId> <Rol>Player</Rol> <Site>sample string 21</Site> <Status>Active</Status> <Twitter>sample string 22</Twitter> </PlayerDetailViewModel> </Players> </PairDetailViewModel>