POST api/ServiciosApi/EnviarSocket
Request Information
URI Parameters
None.
Body Parameters
GPS_DataName | Description | Type | Additional information |
---|---|---|---|
Usuario | string |
None. |
|
IMEI | string |
None. |
|
Placas | 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", "IMEI": "sample string 2", "Placas": "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-23T09:27:58.6676794+00:00", "FechaHoraRecepcion": "2024-11-23T09:27:58.6676794+00:00" }
text/xml
Sample:
<GPS_Data 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-23T09:27:58.6676794+00:00</FechaHoraGeneracion> <FechaHoraRecepcion>2024-11-23T09:27:58.6676794+00:00</FechaHoraRecepcion> <GPSValido>true</GPSValido> <IMEI>sample string 2</IMEI> <KMOdometro>12</KMOdometro> <Lat>5</Lat> <Lng>6</Lng> <NivelBateria>11</NivelBateria> <Placas>sample string 3</Placas> <Ubicacion>sample string 7</Ubicacion> <Usuario>sample string 1</Usuario> <Velocidad>9</Velocidad> </GPS_Data>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>