PUT api/Viajes/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
Viajes| Name | Description | Type | Additional information |
|---|---|---|---|
| ViajesID | integer |
None. |
|
| FechaSalida | date |
Data type: Date |
|
| HoraSalida | date |
Data type: Time |
|
| EmpleadosID | integer |
None. |
|
| CiudadOrigenID | integer |
None. |
|
| Origen | string |
None. |
|
| CiudadDetinoID | integer |
None. |
|
| Destino | string |
None. |
|
| FechaRegistro | date |
Data type: DateTime |
|
| EmpresasID | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"ViajesID": 1,
"FechaSalida": "2025-12-06T10:53:02.1415773-08:00",
"HoraSalida": "2025-12-06T10:53:02.1415773-08:00",
"EmpleadosID": 4,
"CiudadOrigenID": 5,
"Origen": "sample string 6",
"CiudadDetinoID": 7,
"Destino": "sample string 8",
"FechaRegistro": "2025-12-06T10:53:02.1571969-08:00",
"EmpresasID": 10
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.