POST api/Validacion

Request Information

URI Parameters

None.

Body Parameters

ValidacionRequest
NameDescriptionTypeAdditional information
id_gps

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id_gps": "sample string 1"
}

application/xml, text/xml

Sample:
<ValidacionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WEB_ApiValidacionSendit.Models">
  <id_gps>sample string 1</id_gps>
</ValidacionRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of ValidacionResponse
NameDescriptionTypeAdditional information
fechahora_gps

string

None.

latitud

decimal number

None.

longitud

decimal number

None.

sensor_a1

decimal number

None.

sensor_a2

decimal number

None.

sensor_a3

decimal number

None.

estado_ignicion

boolean

None.

numero_evento

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "fechahora_gps": "sample string 1",
    "latitud": 1.0,
    "longitud": 1.0,
    "sensor_a1": 1.0,
    "sensor_a2": 1.0,
    "sensor_a3": 1.0,
    "estado_ignicion": true,
    "numero_evento": 1
  },
  {
    "fechahora_gps": "sample string 1",
    "latitud": 1.0,
    "longitud": 1.0,
    "sensor_a1": 1.0,
    "sensor_a2": 1.0,
    "sensor_a3": 1.0,
    "estado_ignicion": true,
    "numero_evento": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfValidacionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WEB_ApiValidacionSendit.Models">
  <ValidacionResponse>
    <estado_ignicion>true</estado_ignicion>
    <fechahora_gps>sample string 1</fechahora_gps>
    <latitud>1</latitud>
    <longitud>1</longitud>
    <numero_evento>1</numero_evento>
    <sensor_a1>1</sensor_a1>
    <sensor_a2>1</sensor_a2>
    <sensor_a3>1</sensor_a3>
  </ValidacionResponse>
  <ValidacionResponse>
    <estado_ignicion>true</estado_ignicion>
    <fechahora_gps>sample string 1</fechahora_gps>
    <latitud>1</latitud>
    <longitud>1</longitud>
    <numero_evento>1</numero_evento>
    <sensor_a1>1</sensor_a1>
    <sensor_a2>1</sensor_a2>
    <sensor_a3>1</sensor_a3>
  </ValidacionResponse>
</ArrayOfValidacionResponse>