GET api/Players/ELO
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of PlayerScoreWinLose| Name | Description | Type | Additional information |
|---|---|---|---|
| Player | Player |
None. |
|
| User | UserModel |
None. |
|
| ScoreWin | integer |
None. |
|
| ScoreLose | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Player": {
"Id": 1,
"Strength": "sample string 1",
"MatchingAll": true,
"ELO": 3,
"ELODouble": 4,
"Picture": "QEA=",
"UserId": "sample string 5"
},
"User": {
"ID": "sample string 1",
"Email": "sample string 2",
"Username": "sample string 3",
"Firstname": "sample string 4",
"Lastname": "sample string 5"
},
"ScoreWin": 1,
"ScoreLose": 2
},
{
"Player": {
"Id": 1,
"Strength": "sample string 1",
"MatchingAll": true,
"ELO": 3,
"ELODouble": 4,
"Picture": "QEA=",
"UserId": "sample string 5"
},
"User": {
"ID": "sample string 1",
"Email": "sample string 2",
"Username": "sample string 3",
"Firstname": "sample string 4",
"Lastname": "sample string 5"
},
"ScoreWin": 1,
"ScoreLose": 2
}
]
application/xml, text/xml
Sample:
<ArrayOfPlayerScoreWinLose xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GRUBER.Tennis.App.Server.Models">
<PlayerScoreWinLose>
<Player>
<ELO>3</ELO>
<ELODouble>4</ELODouble>
<Id>1</Id>
<MatchingAll>true</MatchingAll>
<Picture>QEA=</Picture>
<Strength>sample string 1</Strength>
<UserId>sample string 5</UserId>
</Player>
<ScoreLose>2</ScoreLose>
<ScoreWin>1</ScoreWin>
<User>
<Email>sample string 2</Email>
<Firstname>sample string 4</Firstname>
<ID>sample string 1</ID>
<Lastname>sample string 5</Lastname>
<Username>sample string 3</Username>
</User>
</PlayerScoreWinLose>
<PlayerScoreWinLose>
<Player>
<ELO>3</ELO>
<ELODouble>4</ELODouble>
<Id>1</Id>
<MatchingAll>true</MatchingAll>
<Picture>QEA=</Picture>
<Strength>sample string 1</Strength>
<UserId>sample string 5</UserId>
</Player>
<ScoreLose>2</ScoreLose>
<ScoreWin>1</ScoreWin>
<User>
<Email>sample string 2</Email>
<Firstname>sample string 4</Firstname>
<ID>sample string 1</ID>
<Lastname>sample string 5</Lastname>
<Username>sample string 3</Username>
</User>
</PlayerScoreWinLose>
</ArrayOfPlayerScoreWinLose>