GET api/v{version}/season/{id}/pairs

Get the pairs of a season.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

the season id

integer

Required

version

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CoupleViewModel
NameDescriptionTypeAdditional 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,
        "CompetitorId": 2,
        "Key": 3,
        "FullName": "sample string 4",
        "FirstName": "sample string 5",
        "LastName": "sample string 6",
        "Nationality": "sample string 7",
        "Email": "sample string 8",
        "DateOfBirth": "2021-10-20T21:50:02.8983559+02:00",
        "Gender": "sample string 9",
        "CountryCode": "sample string 10",
        "Attachment": "sample string 11",
        "AttachmentContentType": "sample string 12",
        "AttachmentPhotographer": "sample string 13",
        "AttachmentDescription": "sample string 14",
        "AttachmentThrow": "sample string 15",
        "AttachmentThrowContentType": "sample string 16",
        "AttachmentThrowPhotographer": "sample string 17",
        "AttachmentThrowDescription": "sample string 18",
        "AttachmentPassport": "sample string 19",
        "AttachmentPassportContentType": "sample string 20",
        "AttachmentPassportPhotographer": "sample string 21",
        "AttachmentPassportDescription": "sample string 22"
      },
      {
        "PlayerId": 1,
        "CompetitorId": 2,
        "Key": 3,
        "FullName": "sample string 4",
        "FirstName": "sample string 5",
        "LastName": "sample string 6",
        "Nationality": "sample string 7",
        "Email": "sample string 8",
        "DateOfBirth": "2021-10-20T21:50:02.8983559+02:00",
        "Gender": "sample string 9",
        "CountryCode": "sample string 10",
        "Attachment": "sample string 11",
        "AttachmentContentType": "sample string 12",
        "AttachmentPhotographer": "sample string 13",
        "AttachmentDescription": "sample string 14",
        "AttachmentThrow": "sample string 15",
        "AttachmentThrowContentType": "sample string 16",
        "AttachmentThrowPhotographer": "sample string 17",
        "AttachmentThrowDescription": "sample string 18",
        "AttachmentPassport": "sample string 19",
        "AttachmentPassportContentType": "sample string 20",
        "AttachmentPassportPhotographer": "sample string 21",
        "AttachmentPassportDescription": "sample string 22"
      }
    ]
  },
  {
    "PairId": 1,
    "Key": 2,
    "Nationality": "sample string 3",
    "NationalityCode": "sample string 4",
    "Players": [
      {
        "PlayerId": 1,
        "CompetitorId": 2,
        "Key": 3,
        "FullName": "sample string 4",
        "FirstName": "sample string 5",
        "LastName": "sample string 6",
        "Nationality": "sample string 7",
        "Email": "sample string 8",
        "DateOfBirth": "2021-10-20T21:50:02.8983559+02:00",
        "Gender": "sample string 9",
        "CountryCode": "sample string 10",
        "Attachment": "sample string 11",
        "AttachmentContentType": "sample string 12",
        "AttachmentPhotographer": "sample string 13",
        "AttachmentDescription": "sample string 14",
        "AttachmentThrow": "sample string 15",
        "AttachmentThrowContentType": "sample string 16",
        "AttachmentThrowPhotographer": "sample string 17",
        "AttachmentThrowDescription": "sample string 18",
        "AttachmentPassport": "sample string 19",
        "AttachmentPassportContentType": "sample string 20",
        "AttachmentPassportPhotographer": "sample string 21",
        "AttachmentPassportDescription": "sample string 22"
      },
      {
        "PlayerId": 1,
        "CompetitorId": 2,
        "Key": 3,
        "FullName": "sample string 4",
        "FirstName": "sample string 5",
        "LastName": "sample string 6",
        "Nationality": "sample string 7",
        "Email": "sample string 8",
        "DateOfBirth": "2021-10-20T21:50:02.8983559+02:00",
        "Gender": "sample string 9",
        "CountryCode": "sample string 10",
        "Attachment": "sample string 11",
        "AttachmentContentType": "sample string 12",
        "AttachmentPhotographer": "sample string 13",
        "AttachmentDescription": "sample string 14",
        "AttachmentThrow": "sample string 15",
        "AttachmentThrowContentType": "sample string 16",
        "AttachmentThrowPhotographer": "sample string 17",
        "AttachmentThrowDescription": "sample string 18",
        "AttachmentPassport": "sample string 19",
        "AttachmentPassportContentType": "sample string 20",
        "AttachmentPassportPhotographer": "sample string 21",
        "AttachmentPassportDescription": "sample string 22"
      }
    ]
  }
]

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 11</Attachment>
        <AttachmentContentType>sample string 12</AttachmentContentType>
        <AttachmentDescription>sample string 14</AttachmentDescription>
        <AttachmentPassport>sample string 19</AttachmentPassport>
        <AttachmentPassportContentType>sample string 20</AttachmentPassportContentType>
        <AttachmentPassportDescription>sample string 22</AttachmentPassportDescription>
        <AttachmentPassportPhotographer>sample string 21</AttachmentPassportPhotographer>
        <AttachmentPhotographer>sample string 13</AttachmentPhotographer>
        <AttachmentThrow>sample string 15</AttachmentThrow>
        <AttachmentThrowContentType>sample string 16</AttachmentThrowContentType>
        <AttachmentThrowDescription>sample string 18</AttachmentThrowDescription>
        <AttachmentThrowPhotographer>sample string 17</AttachmentThrowPhotographer>
        <CompetitorId>2</CompetitorId>
        <CountryCode>sample string 10</CountryCode>
        <DateOfBirth>2021-10-20T21:50:02.8983559+02:00</DateOfBirth>
        <Email>sample string 8</Email>
        <FirstName>sample string 5</FirstName>
        <FullName>sample string 4</FullName>
        <Gender>sample string 9</Gender>
        <Key>3</Key>
        <LastName>sample string 6</LastName>
        <Nationality>sample string 7</Nationality>
        <PlayerId>1</PlayerId>
      </PlayerViewModel>
      <PlayerViewModel>
        <Attachment>sample string 11</Attachment>
        <AttachmentContentType>sample string 12</AttachmentContentType>
        <AttachmentDescription>sample string 14</AttachmentDescription>
        <AttachmentPassport>sample string 19</AttachmentPassport>
        <AttachmentPassportContentType>sample string 20</AttachmentPassportContentType>
        <AttachmentPassportDescription>sample string 22</AttachmentPassportDescription>
        <AttachmentPassportPhotographer>sample string 21</AttachmentPassportPhotographer>
        <AttachmentPhotographer>sample string 13</AttachmentPhotographer>
        <AttachmentThrow>sample string 15</AttachmentThrow>
        <AttachmentThrowContentType>sample string 16</AttachmentThrowContentType>
        <AttachmentThrowDescription>sample string 18</AttachmentThrowDescription>
        <AttachmentThrowPhotographer>sample string 17</AttachmentThrowPhotographer>
        <CompetitorId>2</CompetitorId>
        <CountryCode>sample string 10</CountryCode>
        <DateOfBirth>2021-10-20T21:50:02.8983559+02:00</DateOfBirth>
        <Email>sample string 8</Email>
        <FirstName>sample string 5</FirstName>
        <FullName>sample string 4</FullName>
        <Gender>sample string 9</Gender>
        <Key>3</Key>
        <LastName>sample string 6</LastName>
        <Nationality>sample string 7</Nationality>
        <PlayerId>1</PlayerId>
      </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 11</Attachment>
        <AttachmentContentType>sample string 12</AttachmentContentType>
        <AttachmentDescription>sample string 14</AttachmentDescription>
        <AttachmentPassport>sample string 19</AttachmentPassport>
        <AttachmentPassportContentType>sample string 20</AttachmentPassportContentType>
        <AttachmentPassportDescription>sample string 22</AttachmentPassportDescription>
        <AttachmentPassportPhotographer>sample string 21</AttachmentPassportPhotographer>
        <AttachmentPhotographer>sample string 13</AttachmentPhotographer>
        <AttachmentThrow>sample string 15</AttachmentThrow>
        <AttachmentThrowContentType>sample string 16</AttachmentThrowContentType>
        <AttachmentThrowDescription>sample string 18</AttachmentThrowDescription>
        <AttachmentThrowPhotographer>sample string 17</AttachmentThrowPhotographer>
        <CompetitorId>2</CompetitorId>
        <CountryCode>sample string 10</CountryCode>
        <DateOfBirth>2021-10-20T21:50:02.8983559+02:00</DateOfBirth>
        <Email>sample string 8</Email>
        <FirstName>sample string 5</FirstName>
        <FullName>sample string 4</FullName>
        <Gender>sample string 9</Gender>
        <Key>3</Key>
        <LastName>sample string 6</LastName>
        <Nationality>sample string 7</Nationality>
        <PlayerId>1</PlayerId>
      </PlayerViewModel>
      <PlayerViewModel>
        <Attachment>sample string 11</Attachment>
        <AttachmentContentType>sample string 12</AttachmentContentType>
        <AttachmentDescription>sample string 14</AttachmentDescription>
        <AttachmentPassport>sample string 19</AttachmentPassport>
        <AttachmentPassportContentType>sample string 20</AttachmentPassportContentType>
        <AttachmentPassportDescription>sample string 22</AttachmentPassportDescription>
        <AttachmentPassportPhotographer>sample string 21</AttachmentPassportPhotographer>
        <AttachmentPhotographer>sample string 13</AttachmentPhotographer>
        <AttachmentThrow>sample string 15</AttachmentThrow>
        <AttachmentThrowContentType>sample string 16</AttachmentThrowContentType>
        <AttachmentThrowDescription>sample string 18</AttachmentThrowDescription>
        <AttachmentThrowPhotographer>sample string 17</AttachmentThrowPhotographer>
        <CompetitorId>2</CompetitorId>
        <CountryCode>sample string 10</CountryCode>
        <DateOfBirth>2021-10-20T21:50:02.8983559+02:00</DateOfBirth>
        <Email>sample string 8</Email>
        <FirstName>sample string 5</FirstName>
        <FullName>sample string 4</FullName>
        <Gender>sample string 9</Gender>
        <Key>3</Key>
        <LastName>sample string 6</LastName>
        <Nationality>sample string 7</Nationality>
        <PlayerId>1</PlayerId>
      </PlayerViewModel>
    </Players>
  </CoupleViewModel>
</ArrayOfCoupleViewModel>