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

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 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,
        "FullName": "sample string 3",
        "FirstName": "sample string 4",
        "MiddleName": "sample string 5",
        "LastName": "sample string 6",
        "Nationality": "sample string 7",
        "NationalityCode": "sample string 8",
        "Attachment": "sample string 9",
        "AttachmentContentType": "sample string 10",
        "AttachmentPhotographer": "sample string 11",
        "AttachmentDescription": "sample string 12",
        "AttachmentThrow": "sample string 13",
        "AttachmentThrowContentType": "sample string 14",
        "AttachmentThrowPhotographer": "sample string 15",
        "AttachmentThrowDescription": "sample string 16",
        "AttachmentPassport": "sample string 17",
        "AttachmentPassportContentType": "sample string 18",
        "AttachmentPassportPhotographer": "sample string 19",
        "AttachmentPassportDescription": "sample string 20"
      },
      {
        "PlayerId": 1,
        "Key": 2,
        "FullName": "sample string 3",
        "FirstName": "sample string 4",
        "MiddleName": "sample string 5",
        "LastName": "sample string 6",
        "Nationality": "sample string 7",
        "NationalityCode": "sample string 8",
        "Attachment": "sample string 9",
        "AttachmentContentType": "sample string 10",
        "AttachmentPhotographer": "sample string 11",
        "AttachmentDescription": "sample string 12",
        "AttachmentThrow": "sample string 13",
        "AttachmentThrowContentType": "sample string 14",
        "AttachmentThrowPhotographer": "sample string 15",
        "AttachmentThrowDescription": "sample string 16",
        "AttachmentPassport": "sample string 17",
        "AttachmentPassportContentType": "sample string 18",
        "AttachmentPassportPhotographer": "sample string 19",
        "AttachmentPassportDescription": "sample string 20"
      }
    ]
  },
  {
    "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",
        "Nationality": "sample string 7",
        "NationalityCode": "sample string 8",
        "Attachment": "sample string 9",
        "AttachmentContentType": "sample string 10",
        "AttachmentPhotographer": "sample string 11",
        "AttachmentDescription": "sample string 12",
        "AttachmentThrow": "sample string 13",
        "AttachmentThrowContentType": "sample string 14",
        "AttachmentThrowPhotographer": "sample string 15",
        "AttachmentThrowDescription": "sample string 16",
        "AttachmentPassport": "sample string 17",
        "AttachmentPassportContentType": "sample string 18",
        "AttachmentPassportPhotographer": "sample string 19",
        "AttachmentPassportDescription": "sample string 20"
      },
      {
        "PlayerId": 1,
        "Key": 2,
        "FullName": "sample string 3",
        "FirstName": "sample string 4",
        "MiddleName": "sample string 5",
        "LastName": "sample string 6",
        "Nationality": "sample string 7",
        "NationalityCode": "sample string 8",
        "Attachment": "sample string 9",
        "AttachmentContentType": "sample string 10",
        "AttachmentPhotographer": "sample string 11",
        "AttachmentDescription": "sample string 12",
        "AttachmentThrow": "sample string 13",
        "AttachmentThrowContentType": "sample string 14",
        "AttachmentThrowPhotographer": "sample string 15",
        "AttachmentThrowDescription": "sample string 16",
        "AttachmentPassport": "sample string 17",
        "AttachmentPassportContentType": "sample string 18",
        "AttachmentPassportPhotographer": "sample string 19",
        "AttachmentPassportDescription": "sample string 20"
      }
    ]
  }
]

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 9</Attachment>
        <AttachmentContentType>sample string 10</AttachmentContentType>
        <AttachmentDescription>sample string 12</AttachmentDescription>
        <AttachmentPassport>sample string 17</AttachmentPassport>
        <AttachmentPassportContentType>sample string 18</AttachmentPassportContentType>
        <AttachmentPassportDescription>sample string 20</AttachmentPassportDescription>
        <AttachmentPassportPhotographer>sample string 19</AttachmentPassportPhotographer>
        <AttachmentPhotographer>sample string 11</AttachmentPhotographer>
        <AttachmentThrow>sample string 13</AttachmentThrow>
        <AttachmentThrowContentType>sample string 14</AttachmentThrowContentType>
        <AttachmentThrowDescription>sample string 16</AttachmentThrowDescription>
        <AttachmentThrowPhotographer>sample string 15</AttachmentThrowPhotographer>
        <FirstName>sample string 4</FirstName>
        <FullName>sample string 3</FullName>
        <Key>2</Key>
        <LastName>sample string 6</LastName>
        <MiddleName>sample string 5</MiddleName>
        <Nationality>sample string 7</Nationality>
        <NationalityCode>sample string 8</NationalityCode>
        <PlayerId>1</PlayerId>
      </PlayerViewModel>
      <PlayerViewModel>
        <Attachment>sample string 9</Attachment>
        <AttachmentContentType>sample string 10</AttachmentContentType>
        <AttachmentDescription>sample string 12</AttachmentDescription>
        <AttachmentPassport>sample string 17</AttachmentPassport>
        <AttachmentPassportContentType>sample string 18</AttachmentPassportContentType>
        <AttachmentPassportDescription>sample string 20</AttachmentPassportDescription>
        <AttachmentPassportPhotographer>sample string 19</AttachmentPassportPhotographer>
        <AttachmentPhotographer>sample string 11</AttachmentPhotographer>
        <AttachmentThrow>sample string 13</AttachmentThrow>
        <AttachmentThrowContentType>sample string 14</AttachmentThrowContentType>
        <AttachmentThrowDescription>sample string 16</AttachmentThrowDescription>
        <AttachmentThrowPhotographer>sample string 15</AttachmentThrowPhotographer>
        <FirstName>sample string 4</FirstName>
        <FullName>sample string 3</FullName>
        <Key>2</Key>
        <LastName>sample string 6</LastName>
        <MiddleName>sample string 5</MiddleName>
        <Nationality>sample string 7</Nationality>
        <NationalityCode>sample string 8</NationalityCode>
        <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 9</Attachment>
        <AttachmentContentType>sample string 10</AttachmentContentType>
        <AttachmentDescription>sample string 12</AttachmentDescription>
        <AttachmentPassport>sample string 17</AttachmentPassport>
        <AttachmentPassportContentType>sample string 18</AttachmentPassportContentType>
        <AttachmentPassportDescription>sample string 20</AttachmentPassportDescription>
        <AttachmentPassportPhotographer>sample string 19</AttachmentPassportPhotographer>
        <AttachmentPhotographer>sample string 11</AttachmentPhotographer>
        <AttachmentThrow>sample string 13</AttachmentThrow>
        <AttachmentThrowContentType>sample string 14</AttachmentThrowContentType>
        <AttachmentThrowDescription>sample string 16</AttachmentThrowDescription>
        <AttachmentThrowPhotographer>sample string 15</AttachmentThrowPhotographer>
        <FirstName>sample string 4</FirstName>
        <FullName>sample string 3</FullName>
        <Key>2</Key>
        <LastName>sample string 6</LastName>
        <MiddleName>sample string 5</MiddleName>
        <Nationality>sample string 7</Nationality>
        <NationalityCode>sample string 8</NationalityCode>
        <PlayerId>1</PlayerId>
      </PlayerViewModel>
      <PlayerViewModel>
        <Attachment>sample string 9</Attachment>
        <AttachmentContentType>sample string 10</AttachmentContentType>
        <AttachmentDescription>sample string 12</AttachmentDescription>
        <AttachmentPassport>sample string 17</AttachmentPassport>
        <AttachmentPassportContentType>sample string 18</AttachmentPassportContentType>
        <AttachmentPassportDescription>sample string 20</AttachmentPassportDescription>
        <AttachmentPassportPhotographer>sample string 19</AttachmentPassportPhotographer>
        <AttachmentPhotographer>sample string 11</AttachmentPhotographer>
        <AttachmentThrow>sample string 13</AttachmentThrow>
        <AttachmentThrowContentType>sample string 14</AttachmentThrowContentType>
        <AttachmentThrowDescription>sample string 16</AttachmentThrowDescription>
        <AttachmentThrowPhotographer>sample string 15</AttachmentThrowPhotographer>
        <FirstName>sample string 4</FirstName>
        <FullName>sample string 3</FullName>
        <Key>2</Key>
        <LastName>sample string 6</LastName>
        <MiddleName>sample string 5</MiddleName>
        <Nationality>sample string 7</Nationality>
        <NationalityCode>sample string 8</NationalityCode>
        <PlayerId>1</PlayerId>
      </PlayerViewModel>
    </Players>
  </CoupleViewModel>
</ArrayOfCoupleViewModel>