POST api/votacion/Votar
Request Information
URI Parameters
None.
Body Parameters
Voto| Name | Description | Type | Additional information |
|---|---|---|---|
| VotoID | integer |
Required |
|
| VotacionID | integer |
Required |
|
| OpcionID | integer |
Required |
|
| CasaID | integer |
Required |
|
| UsuarioID | string |
String length: inclusive between 0 and 100 |
|
| DeviceID | string |
String length: inclusive between 0 and 100 |
|
| FechaVoto | date |
Required |
|
| DireccionIP | string |
String length: inclusive between 0 and 50 |
Request Formats
application/json, text/json
Sample:
{
"votoID": 1,
"votacionID": 2,
"opcionID": 3,
"casaID": 4,
"usuarioID": "sample string 5",
"deviceID": "sample string 6",
"fechaVoto": "2026-01-14T21:15:41.9148075-07:00",
"direccionIP": "sample string 8"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.