GET api/v{version}/season/{id}/pairs
Get the pairs of a season.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
the season id |
integer |
Required |
version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of CoupleViewModelName | Description | Type | Additional information |
---|---|---|---|
PairId |
The database id. |
integer |
None. |
Key |
The external id. |
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 |
The players in the couple. |
Collection of PlayerViewModel |
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, "MemberId": "sample string 3", "FullName": "sample string 4", "FirstName": "sample string 5", "LastName": "sample string 6", "SurName": "sample string 7", "Nationality": "sample string 8", "Age": 0, "Gender": "sample string 10", "CountryCode": "sample string 11", "Url": "sample string 28" }, { "PlayerId": 1, "Key": 2, "MemberId": "sample string 3", "FullName": "sample string 4", "FirstName": "sample string 5", "LastName": "sample string 6", "SurName": "sample string 7", "Nationality": "sample string 8", "Age": 0, "Gender": "sample string 10", "CountryCode": "sample string 11", "Url": "sample string 28" } ] }, { "PairId": 1, "Key": 2, "Nationality": "sample string 3", "NationalityCode": "sample string 4", "Players": [ { "PlayerId": 1, "Key": 2, "MemberId": "sample string 3", "FullName": "sample string 4", "FirstName": "sample string 5", "LastName": "sample string 6", "SurName": "sample string 7", "Nationality": "sample string 8", "Age": 0, "Gender": "sample string 10", "CountryCode": "sample string 11", "Url": "sample string 28" }, { "PlayerId": 1, "Key": 2, "MemberId": "sample string 3", "FullName": "sample string 4", "FirstName": "sample string 5", "LastName": "sample string 6", "SurName": "sample string 7", "Nationality": "sample string 8", "Age": 0, "Gender": "sample string 10", "CountryCode": "sample string 11", "Url": "sample string 28" } ] } ]
application/xml, text/xml
Sample:
<ArrayOfCoupleViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models"> <CoupleViewModel> <Key>2</Key> <Nationality>sample string 3</Nationality> <NationalityCode>sample string 4</NationalityCode> <PairId>1</PairId> <Players> <PlayerViewModel> <Attachment>sample string 12</Attachment> <AttachmentContentType>sample string 13</AttachmentContentType> <AttachmentDescription>sample string 15</AttachmentDescription> <AttachmentPassport>sample string 20</AttachmentPassport> <AttachmentPassportContentType>sample string 21</AttachmentPassportContentType> <AttachmentPassportDescription>sample string 23</AttachmentPassportDescription> <AttachmentPassportPhotographer>sample string 22</AttachmentPassportPhotographer> <AttachmentPhotographer>sample string 14</AttachmentPhotographer> <AttachmentThrow>sample string 16</AttachmentThrow> <AttachmentThrowContentType>sample string 17</AttachmentThrowContentType> <AttachmentThrowDescription>sample string 19</AttachmentThrowDescription> <AttachmentThrowPhotographer>sample string 18</AttachmentThrowPhotographer> <AttachmentWDF>sample string 24</AttachmentWDF> <AttachmentWDFContentType>sample string 25</AttachmentWDFContentType> <AttachmentWDFDescription>sample string 27</AttachmentWDFDescription> <AttachmentWDFPhotographer>sample string 26</AttachmentWDFPhotographer> <CountryCode>sample string 11</CountryCode> <DateOfBirth>2023-12-07T07:55:54.3481674+01:00</DateOfBirth> <DateOfDecease>2023-12-07T07:55:54.3481674+01:00</DateOfDecease> <Email>sample string 9</Email> <FirstName>sample string 5</FirstName> <FullName>sample string 4</FullName> <Gender>sample string 10</Gender> <Key>2</Key> <LastName>sample string 6</LastName> <MemberId>sample string 3</MemberId> <Nationality>sample string 8</Nationality> <PlayerId>1</PlayerId> <SurName>sample string 7</SurName> <Url>sample string 28</Url> </PlayerViewModel> <PlayerViewModel> <Attachment>sample string 12</Attachment> <AttachmentContentType>sample string 13</AttachmentContentType> <AttachmentDescription>sample string 15</AttachmentDescription> <AttachmentPassport>sample string 20</AttachmentPassport> <AttachmentPassportContentType>sample string 21</AttachmentPassportContentType> <AttachmentPassportDescription>sample string 23</AttachmentPassportDescription> <AttachmentPassportPhotographer>sample string 22</AttachmentPassportPhotographer> <AttachmentPhotographer>sample string 14</AttachmentPhotographer> <AttachmentThrow>sample string 16</AttachmentThrow> <AttachmentThrowContentType>sample string 17</AttachmentThrowContentType> <AttachmentThrowDescription>sample string 19</AttachmentThrowDescription> <AttachmentThrowPhotographer>sample string 18</AttachmentThrowPhotographer> <AttachmentWDF>sample string 24</AttachmentWDF> <AttachmentWDFContentType>sample string 25</AttachmentWDFContentType> <AttachmentWDFDescription>sample string 27</AttachmentWDFDescription> <AttachmentWDFPhotographer>sample string 26</AttachmentWDFPhotographer> <CountryCode>sample string 11</CountryCode> <DateOfBirth>2023-12-07T07:55:54.3481674+01:00</DateOfBirth> <DateOfDecease>2023-12-07T07:55:54.3481674+01:00</DateOfDecease> <Email>sample string 9</Email> <FirstName>sample string 5</FirstName> <FullName>sample string 4</FullName> <Gender>sample string 10</Gender> <Key>2</Key> <LastName>sample string 6</LastName> <MemberId>sample string 3</MemberId> <Nationality>sample string 8</Nationality> <PlayerId>1</PlayerId> <SurName>sample string 7</SurName> <Url>sample string 28</Url> </PlayerViewModel> </Players> </CoupleViewModel> <CoupleViewModel> <Key>2</Key> <Nationality>sample string 3</Nationality> <NationalityCode>sample string 4</NationalityCode> <PairId>1</PairId> <Players> <PlayerViewModel> <Attachment>sample string 12</Attachment> <AttachmentContentType>sample string 13</AttachmentContentType> <AttachmentDescription>sample string 15</AttachmentDescription> <AttachmentPassport>sample string 20</AttachmentPassport> <AttachmentPassportContentType>sample string 21</AttachmentPassportContentType> <AttachmentPassportDescription>sample string 23</AttachmentPassportDescription> <AttachmentPassportPhotographer>sample string 22</AttachmentPassportPhotographer> <AttachmentPhotographer>sample string 14</AttachmentPhotographer> <AttachmentThrow>sample string 16</AttachmentThrow> <AttachmentThrowContentType>sample string 17</AttachmentThrowContentType> <AttachmentThrowDescription>sample string 19</AttachmentThrowDescription> <AttachmentThrowPhotographer>sample string 18</AttachmentThrowPhotographer> <AttachmentWDF>sample string 24</AttachmentWDF> <AttachmentWDFContentType>sample string 25</AttachmentWDFContentType> <AttachmentWDFDescription>sample string 27</AttachmentWDFDescription> <AttachmentWDFPhotographer>sample string 26</AttachmentWDFPhotographer> <CountryCode>sample string 11</CountryCode> <DateOfBirth>2023-12-07T07:55:54.3481674+01:00</DateOfBirth> <DateOfDecease>2023-12-07T07:55:54.3481674+01:00</DateOfDecease> <Email>sample string 9</Email> <FirstName>sample string 5</FirstName> <FullName>sample string 4</FullName> <Gender>sample string 10</Gender> <Key>2</Key> <LastName>sample string 6</LastName> <MemberId>sample string 3</MemberId> <Nationality>sample string 8</Nationality> <PlayerId>1</PlayerId> <SurName>sample string 7</SurName> <Url>sample string 28</Url> </PlayerViewModel> <PlayerViewModel> <Attachment>sample string 12</Attachment> <AttachmentContentType>sample string 13</AttachmentContentType> <AttachmentDescription>sample string 15</AttachmentDescription> <AttachmentPassport>sample string 20</AttachmentPassport> <AttachmentPassportContentType>sample string 21</AttachmentPassportContentType> <AttachmentPassportDescription>sample string 23</AttachmentPassportDescription> <AttachmentPassportPhotographer>sample string 22</AttachmentPassportPhotographer> <AttachmentPhotographer>sample string 14</AttachmentPhotographer> <AttachmentThrow>sample string 16</AttachmentThrow> <AttachmentThrowContentType>sample string 17</AttachmentThrowContentType> <AttachmentThrowDescription>sample string 19</AttachmentThrowDescription> <AttachmentThrowPhotographer>sample string 18</AttachmentThrowPhotographer> <AttachmentWDF>sample string 24</AttachmentWDF> <AttachmentWDFContentType>sample string 25</AttachmentWDFContentType> <AttachmentWDFDescription>sample string 27</AttachmentWDFDescription> <AttachmentWDFPhotographer>sample string 26</AttachmentWDFPhotographer> <CountryCode>sample string 11</CountryCode> <DateOfBirth>2023-12-07T07:55:54.3481674+01:00</DateOfBirth> <DateOfDecease>2023-12-07T07:55:54.3481674+01:00</DateOfDecease> <Email>sample string 9</Email> <FirstName>sample string 5</FirstName> <FullName>sample string 4</FullName> <Gender>sample string 10</Gender> <Key>2</Key> <LastName>sample string 6</LastName> <MemberId>sample string 3</MemberId> <Nationality>sample string 8</Nationality> <PlayerId>1</PlayerId> <SurName>sample string 7</SurName> <Url>sample string 28</Url> </PlayerViewModel> </Players> </CoupleViewModel> </ArrayOfCoupleViewModel>