GET api/TeamPoolPosition?APIKey={APIKey}&PoolId={PoolId}&TeamId={TeamId}
Returnerer en liste af hold i en pulje 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
PoolPositionName | Description | Type | Additional information |
---|---|---|---|
TeamPositionList |
En liste af hold i stillingen |
Collection of TeamPosition |
None. |
Pool |
Puljen |
Pool |
None. |
Response Formats
application/json, text/json
Sample:
{ "TeamPositionList": [ { "TeamId": 1, "TeamName": "sample string 2", "IsClubTeam": true, "Sort": 4, "NoOfMatch": 5, "MatchWon": 6, "MatchDrawn": 7, "MatchLost": 8, "ScoreAgainst": 9, "Point": 10, "Score": 11 }, { "TeamId": 1, "TeamName": "sample string 2", "IsClubTeam": true, "Sort": 4, "NoOfMatch": 5, "MatchWon": 6, "MatchDrawn": 7, "MatchLost": 8, "ScoreAgainst": 9, "Point": 10, "Score": 11 } ], "Pool": { "PoolId": 1, "PoolName": "sample string 2", "RowName": "sample string 3", "ShowResult": true, "ShowProgram": true } }
application/xml, text/xml
Sample:
<PoolPosition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClubWebAPI.Models.Position"> <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> <TeamPositionList> <TeamPosition> <IsClubTeam>true</IsClubTeam> <MatchDrawn>7</MatchDrawn> <MatchLost>8</MatchLost> <MatchWon>6</MatchWon> <NoOfMatch>5</NoOfMatch> <Point>10</Point> <Score>11</Score> <ScoreAgainst>9</ScoreAgainst> <Sort>4</Sort> <TeamId>1</TeamId> <TeamName>sample string 2</TeamName> </TeamPosition> <TeamPosition> <IsClubTeam>true</IsClubTeam> <MatchDrawn>7</MatchDrawn> <MatchLost>8</MatchLost> <MatchWon>6</MatchWon> <NoOfMatch>5</NoOfMatch> <Point>10</Point> <Score>11</Score> <ScoreAgainst>9</ScoreAgainst> <Sort>4</Sort> <TeamId>1</TeamId> <TeamName>sample string 2</TeamName> </TeamPosition> </TeamPositionList> </PoolPosition>