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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ids

Collection of integer

Required

version

string

None.

Body Parameters

None.

Response Information

Resource Description

Dictionary of integer [key] and PlayerAveragesViewModel [value]

Response Formats

application/json, text/json

Sample:
{
  "1": {
    "Highest": {
      "Average": 1.1,
      "SeasonId": 2,
      "SeasonTitle": "sample string 3",
      "CompetitionId": 4,
      "CompetitionTitle": "sample string 5",
      "MatchId": 6
    },
    "HighestMajor": {
      "Average": 1.1,
      "SeasonId": 2,
      "SeasonTitle": "sample string 3",
      "CompetitionId": 4,
      "CompetitionTitle": "sample string 5",
      "MatchId": 6
    },
    "HighestTV": {
      "Average": 1.1,
      "SeasonId": 2,
      "SeasonTitle": "sample string 3",
      "CompetitionId": 4,
      "CompetitionTitle": "sample string 5",
      "MatchId": 6
    },
    "HighestWorld": {
      "Average": 1.1,
      "SeasonId": 2,
      "SeasonTitle": "sample string 3",
      "CompetitionId": 4,
      "CompetitionTitle": "sample string 5",
      "MatchId": 6
    }
  },
  "2": {
    "Highest": {
      "Average": 1.1,
      "SeasonId": 2,
      "SeasonTitle": "sample string 3",
      "CompetitionId": 4,
      "CompetitionTitle": "sample string 5",
      "MatchId": 6
    },
    "HighestMajor": {
      "Average": 1.1,
      "SeasonId": 2,
      "SeasonTitle": "sample string 3",
      "CompetitionId": 4,
      "CompetitionTitle": "sample string 5",
      "MatchId": 6
    },
    "HighestTV": {
      "Average": 1.1,
      "SeasonId": 2,
      "SeasonTitle": "sample string 3",
      "CompetitionId": 4,
      "CompetitionTitle": "sample string 5",
      "MatchId": 6
    },
    "HighestWorld": {
      "Average": 1.1,
      "SeasonId": 2,
      "SeasonTitle": "sample string 3",
      "CompetitionId": 4,
      "CompetitionTitle": "sample string 5",
      "MatchId": 6
    }
  }
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfintPlayerAveragesViewModel2SEjVe6h xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfintPlayerAveragesViewModel2SEjVe6h>
    <Key>1</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models">
      <d3p1:Highest>
        <d3p1:Average>1.1</d3p1:Average>
        <d3p1:CompetitionId>4</d3p1:CompetitionId>
        <d3p1:CompetitionTitle>sample string 5</d3p1:CompetitionTitle>
        <d3p1:SeasonId>2</d3p1:SeasonId>
        <d3p1:SeasonTitle>sample string 3</d3p1:SeasonTitle>
      </d3p1:Highest>
      <d3p1:HighestMajor>
        <d3p1:Average>1.1</d3p1:Average>
        <d3p1:CompetitionId>4</d3p1:CompetitionId>
        <d3p1:CompetitionTitle>sample string 5</d3p1:CompetitionTitle>
        <d3p1:SeasonId>2</d3p1:SeasonId>
        <d3p1:SeasonTitle>sample string 3</d3p1:SeasonTitle>
      </d3p1:HighestMajor>
      <d3p1:HighestTV>
        <d3p1:Average>1.1</d3p1:Average>
        <d3p1:CompetitionId>4</d3p1:CompetitionId>
        <d3p1:CompetitionTitle>sample string 5</d3p1:CompetitionTitle>
        <d3p1:SeasonId>2</d3p1:SeasonId>
        <d3p1:SeasonTitle>sample string 3</d3p1:SeasonTitle>
      </d3p1:HighestTV>
      <d3p1:HighestWorld>
        <d3p1:Average>1.1</d3p1:Average>
        <d3p1:CompetitionId>4</d3p1:CompetitionId>
        <d3p1:CompetitionTitle>sample string 5</d3p1:CompetitionTitle>
        <d3p1:SeasonId>2</d3p1:SeasonId>
        <d3p1:SeasonTitle>sample string 3</d3p1:SeasonTitle>
      </d3p1:HighestWorld>
    </Value>
  </KeyValueOfintPlayerAveragesViewModel2SEjVe6h>
  <KeyValueOfintPlayerAveragesViewModel2SEjVe6h>
    <Key>2</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models">
      <d3p1:Highest>
        <d3p1:Average>1.1</d3p1:Average>
        <d3p1:CompetitionId>4</d3p1:CompetitionId>
        <d3p1:CompetitionTitle>sample string 5</d3p1:CompetitionTitle>
        <d3p1:SeasonId>2</d3p1:SeasonId>
        <d3p1:SeasonTitle>sample string 3</d3p1:SeasonTitle>
      </d3p1:Highest>
      <d3p1:HighestMajor>
        <d3p1:Average>1.1</d3p1:Average>
        <d3p1:CompetitionId>4</d3p1:CompetitionId>
        <d3p1:CompetitionTitle>sample string 5</d3p1:CompetitionTitle>
        <d3p1:SeasonId>2</d3p1:SeasonId>
        <d3p1:SeasonTitle>sample string 3</d3p1:SeasonTitle>
      </d3p1:HighestMajor>
      <d3p1:HighestTV>
        <d3p1:Average>1.1</d3p1:Average>
        <d3p1:CompetitionId>4</d3p1:CompetitionId>
        <d3p1:CompetitionTitle>sample string 5</d3p1:CompetitionTitle>
        <d3p1:SeasonId>2</d3p1:SeasonId>
        <d3p1:SeasonTitle>sample string 3</d3p1:SeasonTitle>
      </d3p1:HighestTV>
      <d3p1:HighestWorld>
        <d3p1:Average>1.1</d3p1:Average>
        <d3p1:CompetitionId>4</d3p1:CompetitionId>
        <d3p1:CompetitionTitle>sample string 5</d3p1:CompetitionTitle>
        <d3p1:SeasonId>2</d3p1:SeasonId>
        <d3p1:SeasonTitle>sample string 3</d3p1:SeasonTitle>
      </d3p1:HighestWorld>
    </Value>
  </KeyValueOfintPlayerAveragesViewModel2SEjVe6h>
</ArrayOfKeyValueOfintPlayerAveragesViewModel2SEjVe6h>