POST v2/api/Router/avl/sendGpsData
Request Information
URI Parameters
None.
Body Parameters
Collection of AvlGpsDataName | Description | Type | Additional information |
---|---|---|---|
Latitude | decimal number |
None. |
|
Longitude | decimal number |
None. |
|
Altitude | decimal number |
None. |
|
Speed | decimal number |
None. |
|
ExtraInfo | string |
None. |
|
DirectionAngle | integer |
None. |
|
TimeStamp | date |
None. |
Request Formats
application/json, text/json
Sample:
[ { "Latitude": 1.1, "Longitude": 2.1, "Altitude": 3.1, "Speed": 4.1, "ExtraInfo": "sample string 5", "DirectionAngle": 6, "TimeStamp": "2025-01-09T23:46:33.840337-03:00" }, { "Latitude": 1.1, "Longitude": 2.1, "Altitude": 3.1, "Speed": 4.1, "ExtraInfo": "sample string 5", "DirectionAngle": 6, "TimeStamp": "2025-01-09T23:46:33.840337-03:00" } ]
application/xml, text/xml
Sample:
<ArrayOfAvlGpsData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Neocontrol.API.ViewModels"> <AvlGpsData> <Altitude>3.1</Altitude> <DirectionAngle>6</DirectionAngle> <ExtraInfo>sample string 5</ExtraInfo> <Latitude>1.1</Latitude> <Longitude>2.1</Longitude> <Speed>4.1</Speed> <TimeStamp>2025-01-09T23:46:33.840337-03:00</TimeStamp> </AvlGpsData> <AvlGpsData> <Altitude>3.1</Altitude> <DirectionAngle>6</DirectionAngle> <ExtraInfo>sample string 5</ExtraInfo> <Latitude>1.1</Latitude> <Longitude>2.1</Longitude> <Speed>4.1</Speed> <TimeStamp>2025-01-09T23:46:33.840337-03:00</TimeStamp> </AvlGpsData> </ArrayOfAvlGpsData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.