POST api/vehiculo/CreateVehiculo
Request Information
URI Parameters
None.
Body Parameters
Vehiculo| Name | Description | Type | Additional information |
|---|---|---|---|
| VehiculoID | integer |
Required |
|
| CasaID | integer |
Required |
|
| CerradaID | integer |
Required |
|
| Placa | string |
String length: inclusive between 0 and 20 |
|
| Marca | string |
String length: inclusive between 0 and 50 |
|
| Modelo | string |
String length: inclusive between 0 and 50 |
|
| Anio | integer |
None. |
|
| Color | string |
String length: inclusive between 0 and 30 |
|
| StatusNombre | string |
String length: inclusive between 0 and 50 |
|
| FechaCreacion | date |
Required |
|
| FechaModificacion | date |
Required |
|
| UsrCreacion | string |
Required String length: inclusive between 0 and 100 |
|
| UsrModificacion | string |
Required String length: inclusive between 0 and 100 |
Request Formats
application/json, text/json
Sample:
{
"vehiculoID": 1,
"casaID": 2,
"cerradaID": 3,
"placa": "sample string 4",
"marca": "sample string 5",
"modelo": "sample string 6",
"anio": 1,
"color": "sample string 7",
"statusNombre": "sample string 8",
"fechaCreacion": "2026-01-14T21:15:43.7116605-07:00",
"fechaModificacion": "2026-01-14T21:15:43.7116605-07:00",
"usrCreacion": "sample string 11",
"usrModificacion": "sample string 12"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.