GET api/matches/{matchId}/lineups
Gets the lineups for a match
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
matchId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
A list of MatchEventType objects
LineUpsName | Description | Type | Additional information |
---|---|---|---|
MatchID | integer |
None. |
|
HomeTeamID | integer |
None. |
|
HomeTeam | string |
None. |
|
AwayTeamID | integer |
None. |
|
AwayTeam | string |
None. |
|
HomeTeamPlayers | Collection of Player |
None. |
|
AwayTeamPlayers | Collection of Player |
None. |
Response Formats
application/json, text/json
Sample:
{ "MatchID": 1, "HomeTeamID": 2, "HomeTeam": "sample string 3", "AwayTeamID": 4, "AwayTeam": "sample string 5", "HomeTeamPlayers": [ { "PlayerID": 1, "Name": "sample string 2", "Age": 3, "ShirtNo": 4, "Position": "sample string 5", "Captain": true }, { "PlayerID": 1, "Name": "sample string 2", "Age": 3, "ShirtNo": 4, "Position": "sample string 5", "Captain": true } ], "AwayTeamPlayers": [ { "PlayerID": 1, "Name": "sample string 2", "Age": 3, "ShirtNo": 4, "Position": "sample string 5", "Captain": true }, { "PlayerID": 1, "Name": "sample string 2", "Age": 3, "ShirtNo": 4, "Position": "sample string 5", "Captain": true } ] }
application/xml, text/xml
Sample:
<LineUps xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IbisApi.Models"> <AwayTeam>sample string 5</AwayTeam> <AwayTeamID>4</AwayTeamID> <AwayTeamPlayers> <Player> <Age>3</Age> <Captain>true</Captain> <Name>sample string 2</Name> <PlayerID>1</PlayerID> <Position>sample string 5</Position> <ShirtNo>4</ShirtNo> </Player> <Player> <Age>3</Age> <Captain>true</Captain> <Name>sample string 2</Name> <PlayerID>1</PlayerID> <Position>sample string 5</Position> <ShirtNo>4</ShirtNo> </Player> </AwayTeamPlayers> <HomeTeam>sample string 3</HomeTeam> <HomeTeamID>2</HomeTeamID> <HomeTeamPlayers> <Player> <Age>3</Age> <Captain>true</Captain> <Name>sample string 2</Name> <PlayerID>1</PlayerID> <Position>sample string 5</Position> <ShirtNo>4</ShirtNo> </Player> <Player> <Age>3</Age> <Captain>true</Captain> <Name>sample string 2</Name> <PlayerID>1</PlayerID> <Position>sample string 5</Position> <ShirtNo>4</ShirtNo> </Player> </HomeTeamPlayers> <MatchID>1</MatchID> </LineUps>