POST api/evento/guardar
Guarda un evento.
Request Information
URI Parameters
None.
Body Parameters
El objeto eventoDTO que contiene los datos del evento a guardar.
eventoDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| eventoId | integer |
None. |
|
| codigo | string |
None. |
|
| nombre | string |
None. |
|
| nombreShow | string |
None. |
|
| productorId | integer |
None. |
|
| venueId | integer |
None. |
|
| fechaCorta | date |
None. |
|
| fechaLarga | string |
None. |
|
| categoriaEventoId | integer |
None. |
|
| ventaWebHabilitado | string |
None. |
|
| fechaFinVentaWeb | date |
None. |
|
| ventaPosHabilitado | string |
None. |
|
| estadoEventoId | integer |
None. |
|
| bannerPrincipal | boolean |
None. |
|
| bannerDestacado | boolean |
None. |
|
| destacadoCategoria | boolean |
None. |
|
| imagenMapaUrl | string |
None. |
|
| usaLanding | boolean |
None. |
|
| landingUrl | string |
None. |
|
| landingReferer | string |
None. |
|
| imagenPortada | string |
None. |
|
| imagenPrincipal | string |
None. |
|
| checkProhibicionAcceso | boolean |
None. |
|
| existe | boolean |
None. |
|
| orden | integer |
None. |
|
| eliminado | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"eventoId": 1,
"codigo": "sample string 2",
"nombre": "sample string 3",
"nombreShow": "sample string 4",
"productorId": 5,
"venueId": 6,
"fechaCorta": "2026-01-09T15:00:02.1625262-04:00",
"fechaLarga": "sample string 8",
"categoriaEventoId": 9,
"ventaWebHabilitado": "sample string 10",
"fechaFinVentaWeb": "2026-01-09T15:00:02.1625262-04:00",
"ventaPosHabilitado": "sample string 12",
"estadoEventoId": 13,
"bannerPrincipal": true,
"bannerDestacado": true,
"destacadoCategoria": true,
"imagenMapaUrl": "sample string 17",
"usaLanding": true,
"landingUrl": "sample string 19",
"landingReferer": "sample string 20",
"imagenPortada": "sample string 21",
"imagenPrincipal": "sample string 22",
"checkProhibicionAcceso": true,
"existe": true,
"orden": 25,
"eliminado": true
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Un objeto IHttpActionResult que representa el resultado de la operación.
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.