POST api/location/track
Request Information
URI Parameters
None.
Body Parameters
TrackParam| Name | Description | Type | Additional information |
|---|---|---|---|
| ObjectID | integer |
None. |
|
| StartTime | date |
None. |
|
| EndTime | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"ObjectID": 1,
"StartTime": "2025-12-06 12:58:54",
"EndTime": "2025-12-06 12:58:54"
}
Response Information
Resource Description
OKOfTrackData[]| Name | Description | Type | Additional information |
|---|---|---|---|
| data | Collection of TrackData |
None. |
|
| errCode | integer |
None. |
|
| errMsg | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"errCode": 1,
"errMsg": "sample string 2",
"data": [
{
"Lon": 1.0,
"Lat": 2.0,
"Speed": 3,
"Direct": 4,
"Mileage": 5,
"GPSTime": "2025-12-06 12:58:54",
"RcvTime": "2025-12-06 12:58:54",
"StatusDes": "sample string 8",
"GPSFlag": 9
},
{
"Lon": 1.0,
"Lat": 2.0,
"Speed": 3,
"Direct": 4,
"Mileage": 5,
"GPSTime": "2025-12-06 12:58:54",
"RcvTime": "2025-12-06 12:58:54",
"StatusDes": "sample string 8",
"GPSFlag": 9
}
]
}