POST api/ServiciosApi/WS_GPS_InsertaSimple
Request Information
URI Parameters
None.
Body Parameters
EventoSimpleName | Description | Type | Additional information |
---|---|---|---|
Usuario | string |
None. |
|
Password | string |
None. |
|
IMEI | string |
None. |
|
CodigoEvento | string |
None. |
|
Lat | decimal number |
None. |
|
Lng | decimal number |
None. |
|
Ubicacion | string |
None. |
|
GPSValido | boolean |
None. |
|
Velocidad | integer |
None. |
|
Direccion | integer |
None. |
|
NivelBateria | integer |
None. |
|
KMOdometro | integer |
None. |
|
FechaHoraGeneracion | date |
None. |
|
FechaHoraRecepcion | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "Usuario": "sample string 1", "Password": "sample string 2", "IMEI": "sample string 3", "CodigoEvento": "sample string 4", "Lat": 5.0, "Lng": 6.0, "Ubicacion": "sample string 7", "GPSValido": true, "Velocidad": 9, "Direccion": 10, "NivelBateria": 11, "KMOdometro": 12, "FechaHoraGeneracion": "2024-11-21T07:18:38.0437782+00:00", "FechaHoraRecepcion": "2024-11-21T07:18:38.0437782+00:00" }
text/xml
Sample:
<EventoSimple xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ReCServices"> <CodigoEvento>sample string 4</CodigoEvento> <Direccion>10</Direccion> <FechaHoraGeneracion>2024-11-21T07:18:38.0437782+00:00</FechaHoraGeneracion> <FechaHoraRecepcion>2024-11-21T07:18:38.0437782+00:00</FechaHoraRecepcion> <GPSValido>true</GPSValido> <IMEI>sample string 3</IMEI> <KMOdometro>12</KMOdometro> <Lat>5</Lat> <Lng>6</Lng> <NivelBateria>11</NivelBateria> <Password>sample string 2</Password> <Ubicacion>sample string 7</Ubicacion> <Usuario>sample string 1</Usuario> <Velocidad>9</Velocidad> </EventoSimple>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
WS_GPS_InsertaSimple_ResultName | Description | Type | Additional information |
---|---|---|---|
Indicador | integer |
None. |
|
Mensaje | string |
None. |
|
IdRegistroAfectado | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Indicador": 1, "Mensaje": "sample string 2", "IdRegistroAfectado": 3 }
text/xml
Sample:
<WS_GPS_InsertaSimple_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ReCServices"> <IdRegistroAfectado>3</IdRegistroAfectado> <Indicador>1</Indicador> <Mensaje>sample string 2</Mensaje> </WS_GPS_InsertaSimple_Result>