GET api/v{version}/player/toplay?ids[0]={ids[0]}&ids[1]={ids[1]}&count={count}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ids

Collection of integer

Required

count

integer

Default value is 20

version

string

None.

Body Parameters

None.

Response Information

Resource Description

Dictionary of integer [key] and ToPlayViewModel [value]

Response Formats

application/json, text/json

Sample:
{
  "1": {
    "Seasons": [
      {
        "CompetitionId": 1,
        "Competition": "sample string 2",
        "SeasonId": 3,
        "Season": "sample string 4",
        "StartDate": "2021-07-29T12:58:55.310484+02:00"
      },
      {
        "CompetitionId": 1,
        "Competition": "sample string 2",
        "SeasonId": 3,
        "Season": "sample string 4",
        "StartDate": "2021-07-29T12:58:55.310484+02:00"
      }
    ]
  },
  "2": {
    "Seasons": [
      {
        "CompetitionId": 1,
        "Competition": "sample string 2",
        "SeasonId": 3,
        "Season": "sample string 4",
        "StartDate": "2021-07-29T12:58:55.310484+02:00"
      },
      {
        "CompetitionId": 1,
        "Competition": "sample string 2",
        "SeasonId": 3,
        "Season": "sample string 4",
        "StartDate": "2021-07-29T12:58:55.310484+02:00"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfintToPlayViewModel2SEjVe6h xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfintToPlayViewModel2SEjVe6h>
    <Key>1</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models">
      <d3p1:Seasons>
        <d3p1:SeasonToPlayViewModel>
          <d3p1:Competition>sample string 2</d3p1:Competition>
          <d3p1:CompetitionId>1</d3p1:CompetitionId>
          <d3p1:Season>sample string 4</d3p1:Season>
          <d3p1:SeasonId>3</d3p1:SeasonId>
          <d3p1:StartDate>2021-07-29T12:58:55.310484+02:00</d3p1:StartDate>
        </d3p1:SeasonToPlayViewModel>
        <d3p1:SeasonToPlayViewModel>
          <d3p1:Competition>sample string 2</d3p1:Competition>
          <d3p1:CompetitionId>1</d3p1:CompetitionId>
          <d3p1:Season>sample string 4</d3p1:Season>
          <d3p1:SeasonId>3</d3p1:SeasonId>
          <d3p1:StartDate>2021-07-29T12:58:55.310484+02:00</d3p1:StartDate>
        </d3p1:SeasonToPlayViewModel>
      </d3p1:Seasons>
    </Value>
  </KeyValueOfintToPlayViewModel2SEjVe6h>
  <KeyValueOfintToPlayViewModel2SEjVe6h>
    <Key>2</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models">
      <d3p1:Seasons>
        <d3p1:SeasonToPlayViewModel>
          <d3p1:Competition>sample string 2</d3p1:Competition>
          <d3p1:CompetitionId>1</d3p1:CompetitionId>
          <d3p1:Season>sample string 4</d3p1:Season>
          <d3p1:SeasonId>3</d3p1:SeasonId>
          <d3p1:StartDate>2021-07-29T12:58:55.310484+02:00</d3p1:StartDate>
        </d3p1:SeasonToPlayViewModel>
        <d3p1:SeasonToPlayViewModel>
          <d3p1:Competition>sample string 2</d3p1:Competition>
          <d3p1:CompetitionId>1</d3p1:CompetitionId>
          <d3p1:Season>sample string 4</d3p1:Season>
          <d3p1:SeasonId>3</d3p1:SeasonId>
          <d3p1:StartDate>2021-07-29T12:58:55.310484+02:00</d3p1:StartDate>
        </d3p1:SeasonToPlayViewModel>
      </d3p1:Seasons>
    </Value>
  </KeyValueOfintToPlayViewModel2SEjVe6h>
</ArrayOfKeyValueOfintToPlayViewModel2SEjVe6h>