GET api/PosJugadores?id={id}
Obtiene las posisiciones de los jugadores en una partida
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
id de partida |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ResultadosPartida| Name | Description | Type | Additional information |
|---|---|---|---|
| Ignorancia | integer |
None. |
|
| jugadores | Collection of JugadorMod |
None. |
|
| ID_JugadorGanador | integer |
None. |
|
| ID_EstatusPartida | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Ignorancia": 1,
"jugadores": [
{
"ID_Jugador": 1,
"Nombre": "sample string 2",
"Foto": "sample string 3",
"ColorFicha": "sample string 4",
"Puntaje": 5,
"NoRonda": 6
},
{
"ID_Jugador": 1,
"Nombre": "sample string 2",
"Foto": "sample string 3",
"ColorFicha": "sample string 4",
"Puntaje": 5,
"NoRonda": 6
}
],
"ID_JugadorGanador": 2,
"ID_EstatusPartida": 3
}
text/html
Sample:
{"Ignorancia":1,"jugadores":[{"ID_Jugador":1,"Nombre":"sample string 2","Foto":"sample string 3","ColorFicha":"sample string 4","Puntaje":5,"NoRonda":6},{"ID_Jugador":1,"Nombre":"sample string 2","Foto":"sample string 3","ColorFicha":"sample string 4","Puntaje":5,"NoRonda":6}],"ID_JugadorGanador":2,"ID_EstatusPartida":3}
application/xml, text/xml
Sample:
<ResultadosPartida xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MaratonPackages_WS.Models">
<ID_EstatusPartida>3</ID_EstatusPartida>
<ID_JugadorGanador>2</ID_JugadorGanador>
<Ignorancia>1</Ignorancia>
<jugadores>
<JugadorMod>
<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>
<JugadorMod>
<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>
</jugadores>
</ResultadosPartida>