POST api/gpsraw
Agrega un GPSRawData
Request Information
URI Parameters
None.
Body Parameters
Collection of GPSRawDataName | Description | Type | Additional information |
---|---|---|---|
GPSRawDataId | integer |
None. |
|
GPSRawData1 | string |
None. |
|
GPSRawServerDate | date |
None. |
|
GPSRawIMEI | string |
None. |
|
GPSRawLat | decimal number |
None. |
|
GPSRawLong | decimal number |
None. |
|
GPSRawSpeed | decimal number |
None. |
|
GPSRawDatetime | date |
None. |
|
GPSRawBattery | integer |
None. |
|
GPSRawTemp | string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "GPSRawDataId": 1, "GPSRawData1": "sample string 2", "GPSRawServerDate": "2024-11-25T05:55:41.7501814-03:00", "GPSRawIMEI": "sample string 3", "GPSRawLat": 1.0, "GPSRawLong": 1.0, "GPSRawSpeed": 1.0, "GPSRawDatetime": "2024-11-25T05:55:41.7501814-03:00", "GPSRawBattery": 1, "GPSRawTemp": "sample string 4" }, { "GPSRawDataId": 1, "GPSRawData1": "sample string 2", "GPSRawServerDate": "2024-11-25T05:55:41.7501814-03:00", "GPSRawIMEI": "sample string 3", "GPSRawLat": 1.0, "GPSRawLong": 1.0, "GPSRawSpeed": 1.0, "GPSRawDatetime": "2024-11-25T05:55:41.7501814-03:00", "GPSRawBattery": 1, "GPSRawTemp": "sample string 4" } ]
application/xml, text/xml
Sample:
<ArrayOfGPSRawData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TransporteFramework"> <GPSRawData> <GPSRawBattery>1</GPSRawBattery> <GPSRawData1>sample string 2</GPSRawData1> <GPSRawDataId>1</GPSRawDataId> <GPSRawDatetime>2024-11-25T05:55:41.7501814-03:00</GPSRawDatetime> <GPSRawIMEI>sample string 3</GPSRawIMEI> <GPSRawLat>1</GPSRawLat> <GPSRawLong>1</GPSRawLong> <GPSRawServerDate>2024-11-25T05:55:41.7501814-03:00</GPSRawServerDate> <GPSRawSpeed>1</GPSRawSpeed> <GPSRawTemp>sample string 4</GPSRawTemp> </GPSRawData> <GPSRawData> <GPSRawBattery>1</GPSRawBattery> <GPSRawData1>sample string 2</GPSRawData1> <GPSRawDataId>1</GPSRawDataId> <GPSRawDatetime>2024-11-25T05:55:41.7501814-03:00</GPSRawDatetime> <GPSRawIMEI>sample string 3</GPSRawIMEI> <GPSRawLat>1</GPSRawLat> <GPSRawLong>1</GPSRawLong> <GPSRawServerDate>2024-11-25T05:55:41.7501814-03:00</GPSRawServerDate> <GPSRawSpeed>1</GPSRawSpeed> <GPSRawTemp>sample string 4</GPSRawTemp> </GPSRawData> </ArrayOfGPSRawData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Id despacho creado
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |