POST api/Tracking
Request Information
URI Parameters
None.
Body Parameters
lightTracking| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| accuracy | decimal number |
None. |
|
| altitud | decimal number |
None. |
|
| battery | decimal number |
None. |
|
| bearing | decimal number |
None. |
|
| fechahora | date |
None. |
|
| fechaserver | date |
None. |
|
| imei | string |
None. |
|
| lat | decimal number |
None. |
|
| lon | decimal number |
None. |
|
| speed | decimal number |
None. |
|
| ruta_id | integer |
None. |
|
| cedi_id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"accuracy": 1.0,
"altitud": 1.0,
"battery": 1.0,
"bearing": 1.0,
"fechahora": "2026-02-09T11:30:43.6623323-06:00",
"fechaserver": "2026-02-09T11:30:43.6623323-06:00",
"imei": "sample string 2",
"lat": 1.0,
"lon": 1.0,
"speed": 1.0,
"ruta_id": 1,
"cedi_id": 1
}
application/xml, text/xml
Sample:
<lightTracking xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalProviders"> <accuracy>1</accuracy> <altitud>1</altitud> <battery>1</battery> <bearing>1</bearing> <cedi_id>1</cedi_id> <fechahora>2026-02-09T11:30:43.6623323-06:00</fechahora> <fechaserver>2026-02-09T11:30:43.6623323-06:00</fechaserver> <id>1</id> <imei>sample string 2</imei> <lat>1</lat> <lon>1</lon> <ruta_id>1</ruta_id> <speed>1</speed> </lightTracking>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SimpleResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Error | boolean |
None. |
|
| Mensaje | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Error": true,
"Mensaje": "sample string 2"
}
application/xml, text/xml
Sample:
<SimpleResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalProviders.Models"> <Error>true</Error> <Mensaje>sample string 2</Mensaje> </SimpleResponse>