GET api/v{version}/player/upcomingmatches?ids[0]={ids[0]}&ids[1]={ids[1]}&date={date}&count={count}
Get the last played matches of players
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ids | Collection of integer |
Required |
|
date |
Select matches before this date, the default is the current date/time |
string |
None. |
count |
Number of entries (default = 20, max = 100) |
integer |
Default value is 20 |
version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Dictionary of integer [key] and UpcomingMatchesViewModel [value]Response Formats
application/json, text/json
Sample:
{ "1": { "Matches": [ { "PlayerA": { "Player": { "PlayerId": 1, "Name": "sample string 3", "Key": 2, "Nationality": "sample string 6", "CountryCode": "sample string 7" }, "Seeding": "sample string 1", "Nationality": "sample string 2", "CountryCode": "sample string 3" }, "PlayerB": { "Player": { "PlayerId": 1, "Name": "sample string 3", "Key": 2, "Nationality": "sample string 6", "CountryCode": "sample string 7" }, "Seeding": "sample string 1", "Nationality": "sample string 2", "CountryCode": "sample string 3" }, "ResultA": { "Stats": { "Average": 1.1, "NumberOfHunderdEighties": 1, "DoubleAttempts": 1, "DoubleHits": 1, "Scores": [ 1, 2 ], "Finishes": [ 1, 2 ] }, "Avg": 1.1, "Score": "sample string 1" }, "ResultB": { "Stats": { "Average": 1.1, "NumberOfHunderdEighties": 1, "DoubleAttempts": 1, "DoubleHits": 1, "Scores": [ 1, 2 ], "Finishes": [ 1, 2 ] }, "Avg": 1.1, "Score": "sample string 1" }, "Context": { "InPoules": true, "Poule": "sample string 2", "SeasonId": 3, "Season": "sample string 4", "RoundId": 5, "Round": "sample string 6", "CompetitionId": 7, "Competition": "sample string 8", "RoundOrder": 9 }, "OfficialStartDate": "2023-06-02T10:57:26.0434631+02:00", "MatchId": 1, "OnTv": true, "OnWeb": true, "Leg": 0, "Set": 0 }, { "PlayerA": { "Player": { "PlayerId": 1, "Name": "sample string 3", "Key": 2, "Nationality": "sample string 6", "CountryCode": "sample string 7" }, "Seeding": "sample string 1", "Nationality": "sample string 2", "CountryCode": "sample string 3" }, "PlayerB": { "Player": { "PlayerId": 1, "Name": "sample string 3", "Key": 2, "Nationality": "sample string 6", "CountryCode": "sample string 7" }, "Seeding": "sample string 1", "Nationality": "sample string 2", "CountryCode": "sample string 3" }, "ResultA": { "Stats": { "Average": 1.1, "NumberOfHunderdEighties": 1, "DoubleAttempts": 1, "DoubleHits": 1, "Scores": [ 1, 2 ], "Finishes": [ 1, 2 ] }, "Avg": 1.1, "Score": "sample string 1" }, "ResultB": { "Stats": { "Average": 1.1, "NumberOfHunderdEighties": 1, "DoubleAttempts": 1, "DoubleHits": 1, "Scores": [ 1, 2 ], "Finishes": [ 1, 2 ] }, "Avg": 1.1, "Score": "sample string 1" }, "Context": { "InPoules": true, "Poule": "sample string 2", "SeasonId": 3, "Season": "sample string 4", "RoundId": 5, "Round": "sample string 6", "CompetitionId": 7, "Competition": "sample string 8", "RoundOrder": 9 }, "OfficialStartDate": "2023-06-02T10:57:26.0434631+02:00", "MatchId": 1, "OnTv": true, "OnWeb": true, "Leg": 0, "Set": 0 } ] }, "2": { "Matches": [ { "PlayerA": { "Player": { "PlayerId": 1, "Name": "sample string 3", "Key": 2, "Nationality": "sample string 6", "CountryCode": "sample string 7" }, "Seeding": "sample string 1", "Nationality": "sample string 2", "CountryCode": "sample string 3" }, "PlayerB": { "Player": { "PlayerId": 1, "Name": "sample string 3", "Key": 2, "Nationality": "sample string 6", "CountryCode": "sample string 7" }, "Seeding": "sample string 1", "Nationality": "sample string 2", "CountryCode": "sample string 3" }, "ResultA": { "Stats": { "Average": 1.1, "NumberOfHunderdEighties": 1, "DoubleAttempts": 1, "DoubleHits": 1, "Scores": [ 1, 2 ], "Finishes": [ 1, 2 ] }, "Avg": 1.1, "Score": "sample string 1" }, "ResultB": { "Stats": { "Average": 1.1, "NumberOfHunderdEighties": 1, "DoubleAttempts": 1, "DoubleHits": 1, "Scores": [ 1, 2 ], "Finishes": [ 1, 2 ] }, "Avg": 1.1, "Score": "sample string 1" }, "Context": { "InPoules": true, "Poule": "sample string 2", "SeasonId": 3, "Season": "sample string 4", "RoundId": 5, "Round": "sample string 6", "CompetitionId": 7, "Competition": "sample string 8", "RoundOrder": 9 }, "OfficialStartDate": "2023-06-02T10:57:26.0434631+02:00", "MatchId": 1, "OnTv": true, "OnWeb": true, "Leg": 0, "Set": 0 }, { "PlayerA": { "Player": { "PlayerId": 1, "Name": "sample string 3", "Key": 2, "Nationality": "sample string 6", "CountryCode": "sample string 7" }, "Seeding": "sample string 1", "Nationality": "sample string 2", "CountryCode": "sample string 3" }, "PlayerB": { "Player": { "PlayerId": 1, "Name": "sample string 3", "Key": 2, "Nationality": "sample string 6", "CountryCode": "sample string 7" }, "Seeding": "sample string 1", "Nationality": "sample string 2", "CountryCode": "sample string 3" }, "ResultA": { "Stats": { "Average": 1.1, "NumberOfHunderdEighties": 1, "DoubleAttempts": 1, "DoubleHits": 1, "Scores": [ 1, 2 ], "Finishes": [ 1, 2 ] }, "Avg": 1.1, "Score": "sample string 1" }, "ResultB": { "Stats": { "Average": 1.1, "NumberOfHunderdEighties": 1, "DoubleAttempts": 1, "DoubleHits": 1, "Scores": [ 1, 2 ], "Finishes": [ 1, 2 ] }, "Avg": 1.1, "Score": "sample string 1" }, "Context": { "InPoules": true, "Poule": "sample string 2", "SeasonId": 3, "Season": "sample string 4", "RoundId": 5, "Round": "sample string 6", "CompetitionId": 7, "Competition": "sample string 8", "RoundOrder": 9 }, "OfficialStartDate": "2023-06-02T10:57:26.0434631+02:00", "MatchId": 1, "OnTv": true, "OnWeb": true, "Leg": 0, "Set": 0 } ] } }
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfintUpcomingMatchesViewModel2SEjVe6h xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <KeyValueOfintUpcomingMatchesViewModel2SEjVe6h> <Key>1</Key> <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models"> <d3p1:Matches> <d3p1:MatchInfoViewModel> <d3p1:Context> <d3p1:Competition>sample string 8</d3p1:Competition> <d3p1:CompetitionId>7</d3p1:CompetitionId> <d3p1:InPoules>true</d3p1:InPoules> <d3p1:Poule>sample string 2</d3p1:Poule> <d3p1:Round>sample string 6</d3p1:Round> <d3p1:RoundId>5</d3p1:RoundId> <d3p1:Season>sample string 4</d3p1:Season> <d3p1:SeasonId>3</d3p1:SeasonId> </d3p1:Context> <d3p1:OfficialStartDate>2023-06-02T10:57:26.0434631+02:00</d3p1:OfficialStartDate> <d3p1:PlayerA> <d3p1:CountryCode>sample string 3</d3p1:CountryCode> <d3p1:Nationality>sample string 2</d3p1:Nationality> <d3p1:Player> <d3p1:CountryCode>sample string 7</d3p1:CountryCode> <d3p1:FirstName>sample string 4</d3p1:FirstName> <d3p1:Key>2</d3p1:Key> <d3p1:LastName>sample string 5</d3p1:LastName> <d3p1:MatchName>sample string 3</d3p1:MatchName> <d3p1:Nationality>sample string 6</d3p1:Nationality> <d3p1:PlayerId>1</d3p1:PlayerId> </d3p1:Player> <d3p1:Seeding>sample string 1</d3p1:Seeding> </d3p1:PlayerA> <d3p1:PlayerB> <d3p1:CountryCode>sample string 3</d3p1:CountryCode> <d3p1:Nationality>sample string 2</d3p1:Nationality> <d3p1:Player> <d3p1:CountryCode>sample string 7</d3p1:CountryCode> <d3p1:FirstName>sample string 4</d3p1:FirstName> <d3p1:Key>2</d3p1:Key> <d3p1:LastName>sample string 5</d3p1:LastName> <d3p1:MatchName>sample string 3</d3p1:MatchName> <d3p1:Nationality>sample string 6</d3p1:Nationality> <d3p1:PlayerId>1</d3p1:PlayerId> </d3p1:Player> <d3p1:Seeding>sample string 1</d3p1:Seeding> </d3p1:PlayerB> <d3p1:ResultA> <d3p1:Avg>1.1</d3p1:Avg> <d3p1:Score>sample string 1</d3p1:Score> <d3p1:Stats> <d3p1:Average>1.1</d3p1:Average> <d3p1:DoubleAttempts>1</d3p1:DoubleAttempts> <d3p1:DoubleHits>1</d3p1:DoubleHits> <d3p1:Finishes> <int>1</int> <int>2</int> </d3p1:Finishes> <d3p1:NumberOfHunderdEighties>1</d3p1:NumberOfHunderdEighties> <d3p1:Scores> <int>1</int> <int>2</int> </d3p1:Scores> </d3p1:Stats> </d3p1:ResultA> <d3p1:ResultB> <d3p1:Avg>1.1</d3p1:Avg> <d3p1:Score>sample string 1</d3p1:Score> <d3p1:Stats> <d3p1:Average>1.1</d3p1:Average> <d3p1:DoubleAttempts>1</d3p1:DoubleAttempts> <d3p1:DoubleHits>1</d3p1:DoubleHits> <d3p1:Finishes> <int>1</int> <int>2</int> </d3p1:Finishes> <d3p1:NumberOfHunderdEighties>1</d3p1:NumberOfHunderdEighties> <d3p1:Scores> <int>1</int> <int>2</int> </d3p1:Scores> </d3p1:Stats> </d3p1:ResultB> </d3p1:MatchInfoViewModel> <d3p1:MatchInfoViewModel> <d3p1:Context> <d3p1:Competition>sample string 8</d3p1:Competition> <d3p1:CompetitionId>7</d3p1:CompetitionId> <d3p1:InPoules>true</d3p1:InPoules> <d3p1:Poule>sample string 2</d3p1:Poule> <d3p1:Round>sample string 6</d3p1:Round> <d3p1:RoundId>5</d3p1:RoundId> <d3p1:Season>sample string 4</d3p1:Season> <d3p1:SeasonId>3</d3p1:SeasonId> </d3p1:Context> <d3p1:OfficialStartDate>2023-06-02T10:57:26.0434631+02:00</d3p1:OfficialStartDate> <d3p1:PlayerA> <d3p1:CountryCode>sample string 3</d3p1:CountryCode> <d3p1:Nationality>sample string 2</d3p1:Nationality> <d3p1:Player> <d3p1:CountryCode>sample string 7</d3p1:CountryCode> <d3p1:FirstName>sample string 4</d3p1:FirstName> <d3p1:Key>2</d3p1:Key> <d3p1:LastName>sample string 5</d3p1:LastName> <d3p1:MatchName>sample string 3</d3p1:MatchName> <d3p1:Nationality>sample string 6</d3p1:Nationality> <d3p1:PlayerId>1</d3p1:PlayerId> </d3p1:Player> <d3p1:Seeding>sample string 1</d3p1:Seeding> </d3p1:PlayerA> <d3p1:PlayerB> <d3p1:CountryCode>sample string 3</d3p1:CountryCode> <d3p1:Nationality>sample string 2</d3p1:Nationality> <d3p1:Player> <d3p1:CountryCode>sample string 7</d3p1:CountryCode> <d3p1:FirstName>sample string 4</d3p1:FirstName> <d3p1:Key>2</d3p1:Key> <d3p1:LastName>sample string 5</d3p1:LastName> <d3p1:MatchName>sample string 3</d3p1:MatchName> <d3p1:Nationality>sample string 6</d3p1:Nationality> <d3p1:PlayerId>1</d3p1:PlayerId> </d3p1:Player> <d3p1:Seeding>sample string 1</d3p1:Seeding> </d3p1:PlayerB> <d3p1:ResultA> <d3p1:Avg>1.1</d3p1:Avg> <d3p1:Score>sample string 1</d3p1:Score> <d3p1:Stats> <d3p1:Average>1.1</d3p1:Average> <d3p1:DoubleAttempts>1</d3p1:DoubleAttempts> <d3p1:DoubleHits>1</d3p1:DoubleHits> <d3p1:Finishes> <int>1</int> <int>2</int> </d3p1:Finishes> <d3p1:NumberOfHunderdEighties>1</d3p1:NumberOfHunderdEighties> <d3p1:Scores> <int>1</int> <int>2</int> </d3p1:Scores> </d3p1:Stats> </d3p1:ResultA> <d3p1:ResultB> <d3p1:Avg>1.1</d3p1:Avg> <d3p1:Score>sample string 1</d3p1:Score> <d3p1:Stats> <d3p1:Average>1.1</d3p1:Average> <d3p1:DoubleAttempts>1</d3p1:DoubleAttempts> <d3p1:DoubleHits>1</d3p1:DoubleHits> <d3p1:Finishes> <int>1</int> <int>2</int> </d3p1:Finishes> <d3p1:NumberOfHunderdEighties>1</d3p1:NumberOfHunderdEighties> <d3p1:Scores> <int>1</int> <int>2</int> </d3p1:Scores> </d3p1:Stats> </d3p1:ResultB> </d3p1:MatchInfoViewModel> </d3p1:Matches> </Value> </KeyValueOfintUpcomingMatchesViewModel2SEjVe6h> <KeyValueOfintUpcomingMatchesViewModel2SEjVe6h> <Key>2</Key> <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models"> <d3p1:Matches> <d3p1:MatchInfoViewModel> <d3p1:Context> <d3p1:Competition>sample string 8</d3p1:Competition> <d3p1:CompetitionId>7</d3p1:CompetitionId> <d3p1:InPoules>true</d3p1:InPoules> <d3p1:Poule>sample string 2</d3p1:Poule> <d3p1:Round>sample string 6</d3p1:Round> <d3p1:RoundId>5</d3p1:RoundId> <d3p1:Season>sample string 4</d3p1:Season> <d3p1:SeasonId>3</d3p1:SeasonId> </d3p1:Context> <d3p1:OfficialStartDate>2023-06-02T10:57:26.0434631+02:00</d3p1:OfficialStartDate> <d3p1:PlayerA> <d3p1:CountryCode>sample string 3</d3p1:CountryCode> <d3p1:Nationality>sample string 2</d3p1:Nationality> <d3p1:Player> <d3p1:CountryCode>sample string 7</d3p1:CountryCode> <d3p1:FirstName>sample string 4</d3p1:FirstName> <d3p1:Key>2</d3p1:Key> <d3p1:LastName>sample string 5</d3p1:LastName> <d3p1:MatchName>sample string 3</d3p1:MatchName> <d3p1:Nationality>sample string 6</d3p1:Nationality> <d3p1:PlayerId>1</d3p1:PlayerId> </d3p1:Player> <d3p1:Seeding>sample string 1</d3p1:Seeding> </d3p1:PlayerA> <d3p1:PlayerB> <d3p1:CountryCode>sample string 3</d3p1:CountryCode> <d3p1:Nationality>sample string 2</d3p1:Nationality> <d3p1:Player> <d3p1:CountryCode>sample string 7</d3p1:CountryCode> <d3p1:FirstName>sample string 4</d3p1:FirstName> <d3p1:Key>2</d3p1:Key> <d3p1:LastName>sample string 5</d3p1:LastName> <d3p1:MatchName>sample string 3</d3p1:MatchName> <d3p1:Nationality>sample string 6</d3p1:Nationality> <d3p1:PlayerId>1</d3p1:PlayerId> </d3p1:Player> <d3p1:Seeding>sample string 1</d3p1:Seeding> </d3p1:PlayerB> <d3p1:ResultA> <d3p1:Avg>1.1</d3p1:Avg> <d3p1:Score>sample string 1</d3p1:Score> <d3p1:Stats> <d3p1:Average>1.1</d3p1:Average> <d3p1:DoubleAttempts>1</d3p1:DoubleAttempts> <d3p1:DoubleHits>1</d3p1:DoubleHits> <d3p1:Finishes> <int>1</int> <int>2</int> </d3p1:Finishes> <d3p1:NumberOfHunderdEighties>1</d3p1:NumberOfHunderdEighties> <d3p1:Scores> <int>1</int> <int>2</int> </d3p1:Scores> </d3p1:Stats> </d3p1:ResultA> <d3p1:ResultB> <d3p1:Avg>1.1</d3p1:Avg> <d3p1:Score>sample string 1</d3p1:Score> <d3p1:Stats> <d3p1:Average>1.1</d3p1:Average> <d3p1:DoubleAttempts>1</d3p1:DoubleAttempts> <d3p1:DoubleHits>1</d3p1:DoubleHits> <d3p1:Finishes> <int>1</int> <int>2</int> </d3p1:Finishes> <d3p1:NumberOfHunderdEighties>1</d3p1:NumberOfHunderdEighties> <d3p1:Scores> <int>1</int> <int>2</int> </d3p1:Scores> </d3p1:Stats> </d3p1:ResultB> </d3p1:MatchInfoViewModel> <d3p1:MatchInfoViewModel> <d3p1:Context> <d3p1:Competition>sample string 8</d3p1:Competition> <d3p1:CompetitionId>7</d3p1:CompetitionId> <d3p1:InPoules>true</d3p1:InPoules> <d3p1:Poule>sample string 2</d3p1:Poule> <d3p1:Round>sample string 6</d3p1:Round> <d3p1:RoundId>5</d3p1:RoundId> <d3p1:Season>sample string 4</d3p1:Season> <d3p1:SeasonId>3</d3p1:SeasonId> </d3p1:Context> <d3p1:OfficialStartDate>2023-06-02T10:57:26.0434631+02:00</d3p1:OfficialStartDate> <d3p1:PlayerA> <d3p1:CountryCode>sample string 3</d3p1:CountryCode> <d3p1:Nationality>sample string 2</d3p1:Nationality> <d3p1:Player> <d3p1:CountryCode>sample string 7</d3p1:CountryCode> <d3p1:FirstName>sample string 4</d3p1:FirstName> <d3p1:Key>2</d3p1:Key> <d3p1:LastName>sample string 5</d3p1:LastName> <d3p1:MatchName>sample string 3</d3p1:MatchName> <d3p1:Nationality>sample string 6</d3p1:Nationality> <d3p1:PlayerId>1</d3p1:PlayerId> </d3p1:Player> <d3p1:Seeding>sample string 1</d3p1:Seeding> </d3p1:PlayerA> <d3p1:PlayerB> <d3p1:CountryCode>sample string 3</d3p1:CountryCode> <d3p1:Nationality>sample string 2</d3p1:Nationality> <d3p1:Player> <d3p1:CountryCode>sample string 7</d3p1:CountryCode> <d3p1:FirstName>sample string 4</d3p1:FirstName> <d3p1:Key>2</d3p1:Key> <d3p1:LastName>sample string 5</d3p1:LastName> <d3p1:MatchName>sample string 3</d3p1:MatchName> <d3p1:Nationality>sample string 6</d3p1:Nationality> <d3p1:PlayerId>1</d3p1:PlayerId> </d3p1:Player> <d3p1:Seeding>sample string 1</d3p1:Seeding> </d3p1:PlayerB> <d3p1:ResultA> <d3p1:Avg>1.1</d3p1:Avg> <d3p1:Score>sample string 1</d3p1:Score> <d3p1:Stats> <d3p1:Average>1.1</d3p1:Average> <d3p1:DoubleAttempts>1</d3p1:DoubleAttempts> <d3p1:DoubleHits>1</d3p1:DoubleHits> <d3p1:Finishes> <int>1</int> <int>2</int> </d3p1:Finishes> <d3p1:NumberOfHunderdEighties>1</d3p1:NumberOfHunderdEighties> <d3p1:Scores> <int>1</int> <int>2</int> </d3p1:Scores> </d3p1:Stats> </d3p1:ResultA> <d3p1:ResultB> <d3p1:Avg>1.1</d3p1:Avg> <d3p1:Score>sample string 1</d3p1:Score> <d3p1:Stats> <d3p1:Average>1.1</d3p1:Average> <d3p1:DoubleAttempts>1</d3p1:DoubleAttempts> <d3p1:DoubleHits>1</d3p1:DoubleHits> <d3p1:Finishes> <int>1</int> <int>2</int> </d3p1:Finishes> <d3p1:NumberOfHunderdEighties>1</d3p1:NumberOfHunderdEighties> <d3p1:Scores> <int>1</int> <int>2</int> </d3p1:Scores> </d3p1:Stats> </d3p1:ResultB> </d3p1:MatchInfoViewModel> </d3p1:Matches> </Value> </KeyValueOfintUpcomingMatchesViewModel2SEjVe6h> </ArrayOfKeyValueOfintUpcomingMatchesViewModel2SEjVe6h>