GET api/TeamMatch?APIKey={APIKey}&PoolId={PoolId}&TeamId={TeamId}
Returnerer en liste af holdets kampe samt puljens staminfo
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
APIKey |
Klubbens api-nøgle |
globally unique identifier |
Required |
PoolId |
Puljens id |
integer |
Required |
TeamId |
Holdets id |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
TeamMatchProgramName | Description | Type | Additional information |
---|---|---|---|
MatchList |
En liste af kampe |
Collection of Match |
None. |
Pool |
Puljen |
Pool |
None. |
Response Formats
application/json, text/json
Sample:
{ "MatchList": [ { "Id": 1, "MatchDateTime": "2025-04-20T11:43:31.8743846+02:00", "RoundNo": 1, "HomeTeamName": "sample string 3", "HomeTeamScore": 1, "AwayTeamName": "sample string 4", "AwayTeamScore": 1, "StadiumName": "sample string 5" }, { "Id": 1, "MatchDateTime": "2025-04-20T11:43:31.8743846+02:00", "RoundNo": 1, "HomeTeamName": "sample string 3", "HomeTeamScore": 1, "AwayTeamName": "sample string 4", "AwayTeamScore": 1, "StadiumName": "sample string 5" } ], "Pool": { "PoolId": 1, "PoolName": "sample string 2", "RowName": "sample string 3", "ShowResult": true, "ShowProgram": true } }
application/xml, text/xml
Sample:
<TeamMatchProgram xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClubWebAPI.Models.Team"> <MatchList xmlns:d2p1="http://schemas.datacontract.org/2004/07/ClubWebAPI.Models.Match"> <d2p1:Match> <d2p1:AwayTeamName>sample string 4</d2p1:AwayTeamName> <d2p1:AwayTeamScore>1</d2p1:AwayTeamScore> <d2p1:HomeTeamName>sample string 3</d2p1:HomeTeamName> <d2p1:HomeTeamScore>1</d2p1:HomeTeamScore> <d2p1:Id>1</d2p1:Id> <d2p1:MatchDateTime>2025-04-20T11:43:31.8743846+02:00</d2p1:MatchDateTime> <d2p1:RoundNo>1</d2p1:RoundNo> <d2p1:StadiumName>sample string 5</d2p1:StadiumName> </d2p1:Match> <d2p1:Match> <d2p1:AwayTeamName>sample string 4</d2p1:AwayTeamName> <d2p1:AwayTeamScore>1</d2p1:AwayTeamScore> <d2p1:HomeTeamName>sample string 3</d2p1:HomeTeamName> <d2p1:HomeTeamScore>1</d2p1:HomeTeamScore> <d2p1:Id>1</d2p1:Id> <d2p1:MatchDateTime>2025-04-20T11:43:31.8743846+02:00</d2p1:MatchDateTime> <d2p1:RoundNo>1</d2p1:RoundNo> <d2p1:StadiumName>sample string 5</d2p1:StadiumName> </d2p1:Match> </MatchList> <Pool xmlns:d2p1="http://schemas.datacontract.org/2004/07/ClubWebAPI.Models.Pool"> <d2p1:PoolId>1</d2p1:PoolId> <d2p1:PoolName>sample string 2</d2p1:PoolName> <d2p1:RowName>sample string 3</d2p1:RowName> <d2p1:ShowProgram>true</d2p1:ShowProgram> <d2p1:ShowResult>true</d2p1:ShowResult> </Pool> </TeamMatchProgram>