POST api/track/kilometraje

Request Information

URI Parameters

None.

Body Parameters

RegistroKilometrajeViewModel
NameDescriptionTypeAdditional information
Placa

string

None.

RequiereRegistro

boolean

None.

Kilometraje

decimal number

None.

FechaRegistroKilometraje

date

None.

IdVehiculo

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Placa": "sample string 1",
  "RequiereRegistro": true,
  "Kilometraje": 1.0,
  "FechaRegistroKilometraje": "2024-11-12T15:12:31.5751883-05:00",
  "IdVehiculo": 3
}

application/xml, text/xml

Sample:
<RegistroKilometrajeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMS.Data.ViewModels.ApiChoferes">
  <FechaRegistroKilometraje>2024-11-12T15:12:31.5751883-05:00</FechaRegistroKilometraje>
  <IdVehiculo>3</IdVehiculo>
  <Kilometraje>1</Kilometraje>
  <Placa>sample string 1</Placa>
  <RequiereRegistro>true</RequiereRegistro>
</RegistroKilometrajeViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.