GET api/OponentesRecientes?id={id}&top={top}
Obtiene una lista de los usuarios con los que se han jugado recientemente
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
id del jugador |
integer |
Required |
| top |
numero de usuarios, por default 5 |
integer |
Default value is 5 |
Body Parameters
None.
Response Information
Resource Description
JugadorMod| Name | Description | Type | Additional information |
|---|---|---|---|
| ID_Jugador | integer |
None. |
|
| Nombre | string |
None. |
|
| Foto | string |
None. |
|
| ColorFicha | string |
None. |
|
| Puntaje | integer |
None. |
|
| NoRonda | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID_Jugador": 1,
"Nombre": "sample string 2",
"Foto": "sample string 3",
"ColorFicha": "sample string 4",
"Puntaje": 5,
"NoRonda": 6
}
text/html
Sample:
{"ID_Jugador":1,"Nombre":"sample string 2","Foto":"sample string 3","ColorFicha":"sample string 4","Puntaje":5,"NoRonda":6}
application/xml, text/xml
Sample:
<JugadorMod xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MaratonPackages_WS.Models"> <ColorFicha>sample string 4</ColorFicha> <Foto>sample string 3</Foto> <ID_Jugador>1</ID_Jugador> <NoRonda>6</NoRonda> <Nombre>sample string 2</Nombre> <Puntaje>5</Puntaje> </JugadorMod>