POST api/track

Request Information

URI Parameters

None.

Body Parameters

GeoposicionDto
NameDescriptionTypeAdditional information
Latitud

decimal number

Required

Longitud

decimal number

Required

Origen

string

None.

Timestamp

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Latitud": 1.0,
  "Longitud": 2.0,
  "Origen": "sample string 3",
  "Timestamp": "2024-11-12T14:57:28.9405687-05:00"
}

application/xml, text/xml

Sample:
<GeoposicionDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMS.Data.ViewModels.ApiChoferes">
  <Latitud>1</Latitud>
  <Longitud>2</Longitud>
  <Origen>sample string 3</Origen>
  <Timestamp>2024-11-12T14:57:28.9405687-05:00</Timestamp>
</GeoposicionDto>

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.