GET api/Roster
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of RosterName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
SeasonId | string |
None. |
|
TeamId | string |
None. |
|
Players | Collection of Player |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": "sample string 1", "SeasonId": "sample string 2", "TeamId": "sample string 3", "Players": [ { "PlayerNbr": 1, "Name": "sample string 2", "Grade": "sample string 3", "Height": "sample string 4", "Weight": 5, "Position": "sample string 6", "Email": "sample string 7", "MobilePhone": "sample string 8" }, { "PlayerNbr": 1, "Name": "sample string 2", "Grade": "sample string 3", "Height": "sample string 4", "Weight": 5, "Position": "sample string 6", "Email": "sample string 7", "MobilePhone": "sample string 8" } ] }, { "Id": "sample string 1", "SeasonId": "sample string 2", "TeamId": "sample string 3", "Players": [ { "PlayerNbr": 1, "Name": "sample string 2", "Grade": "sample string 3", "Height": "sample string 4", "Weight": 5, "Position": "sample string 6", "Email": "sample string 7", "MobilePhone": "sample string 8" }, { "PlayerNbr": 1, "Name": "sample string 2", "Grade": "sample string 3", "Height": "sample string 4", "Weight": 5, "Position": "sample string 6", "Email": "sample string 7", "MobilePhone": "sample string 8" } ] } ]
application/xml, text/xml
Sample:
<ArrayOfRoster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="f1"> <Roster> <Id>sample string 1</Id> <Players> <Player> <Email>sample string 7</Email> <Grade>sample string 3</Grade> <Height>sample string 4</Height> <MobilePhone>sample string 8</MobilePhone> <Name>sample string 2</Name> <PlayerNbr>1</PlayerNbr> <Position>sample string 6</Position> <Weight>5</Weight> </Player> <Player> <Email>sample string 7</Email> <Grade>sample string 3</Grade> <Height>sample string 4</Height> <MobilePhone>sample string 8</MobilePhone> <Name>sample string 2</Name> <PlayerNbr>1</PlayerNbr> <Position>sample string 6</Position> <Weight>5</Weight> </Player> </Players> <SeasonId>sample string 2</SeasonId> <TeamId>sample string 3</TeamId> </Roster> <Roster> <Id>sample string 1</Id> <Players> <Player> <Email>sample string 7</Email> <Grade>sample string 3</Grade> <Height>sample string 4</Height> <MobilePhone>sample string 8</MobilePhone> <Name>sample string 2</Name> <PlayerNbr>1</PlayerNbr> <Position>sample string 6</Position> <Weight>5</Weight> </Player> <Player> <Email>sample string 7</Email> <Grade>sample string 3</Grade> <Height>sample string 4</Height> <MobilePhone>sample string 8</MobilePhone> <Name>sample string 2</Name> <PlayerNbr>1</PlayerNbr> <Position>sample string 6</Position> <Weight>5</Weight> </Player> </Players> <SeasonId>sample string 2</SeasonId> <TeamId>sample string 3</TeamId> </Roster> </ArrayOfRoster>