GET api/Top?id={id}
Lista de jugadores con mayor puntaje ordenados de manera descendiente
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
id del jugador que hace la solicitud |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of JugadorTop| Name | Description | Type | Additional information |
|---|---|---|---|
| ID_Jugador | integer |
None. |
|
| Nombre | string |
None. |
|
| Foto | string |
None. |
|
| Puntaje | string |
None. |
|
| NoPosicion | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ID_Jugador": 1,
"Nombre": "sample string 2",
"Foto": "sample string 3",
"Puntaje": "sample string 4",
"NoPosicion": 5
},
{
"ID_Jugador": 1,
"Nombre": "sample string 2",
"Foto": "sample string 3",
"Puntaje": "sample string 4",
"NoPosicion": 5
}
]
text/html
Sample:
[{"ID_Jugador":1,"Nombre":"sample string 2","Foto":"sample string 3","Puntaje":"sample string 4","NoPosicion":5},{"ID_Jugador":1,"Nombre":"sample string 2","Foto":"sample string 3","Puntaje":"sample string 4","NoPosicion":5}]
application/xml, text/xml
Sample:
<ArrayOfJugadorTop xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MaratonPackages_WS.Models">
<JugadorTop>
<Foto>sample string 3</Foto>
<ID_Jugador>1</ID_Jugador>
<NoPosicion>5</NoPosicion>
<Nombre>sample string 2</Nombre>
<Puntaje>sample string 4</Puntaje>
</JugadorTop>
<JugadorTop>
<Foto>sample string 3</Foto>
<ID_Jugador>1</ID_Jugador>
<NoPosicion>5</NoPosicion>
<Nombre>sample string 2</Nombre>
<Puntaje>sample string 4</Puntaje>
</JugadorTop>
</ArrayOfJugadorTop>