POST Jugador/updJugador
Actualiza la informacion de un jugador, nombre, aceptacion a juegos, foto, color de ficha
Request Information
URI Parameters
None.
Body Parameters
UpdJugadorModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Nombre | string |
None. |
|
| Foto | string |
None. |
|
| Color | string |
None. |
|
| Invitacion | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Nombre": "sample string 2",
"Foto": "sample string 3",
"Color": "sample string 4",
"Invitacion": true
}
text/html
Sample:
{"ID":1,"Nombre":"sample string 2","Foto":"sample string 3","Color":"sample string 4","Invitacion":true}
application/xml, text/xml
Sample:
<UpdJugadorModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MaratonPackages_WS.Models"> <Color>sample string 4</Color> <Foto>sample string 3</Foto> <ID>1</ID> <Invitacion>true</Invitacion> <Nombre>sample string 2</Nombre> </UpdJugadorModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Resul| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | string |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": "sample string 1",
"Message": "sample string 2"
}
text/html
Sample:
{"ID":"sample string 1","Message":"sample string 2"}
application/xml, text/xml
Sample:
<Resul xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MaratonPackages_WS.Models"> <ID>sample string 1</ID> <Message>sample string 2</Message> </Resul>