GET api/Players/Search/{keyword}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| keyword | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Player| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Strength | string |
None. |
|
| MatchingAll | boolean |
None. |
|
| ELO | integer |
None. |
|
| ELODouble | integer |
None. |
|
| Picture | Collection of byte |
None. |
|
| UserId | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Strength": "sample string 1",
"MatchingAll": true,
"ELO": 3,
"ELODouble": 4,
"Picture": "QEA=",
"UserId": "sample string 5"
},
{
"Id": 1,
"Strength": "sample string 1",
"MatchingAll": true,
"ELO": 3,
"ELODouble": 4,
"Picture": "QEA=",
"UserId": "sample string 5"
}
]
application/xml, text/xml
Sample:
<ArrayOfPlayer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GRUBER.Tennis.App.Server.Models">
<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>
<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>
</ArrayOfPlayer>