Vehicle Position
Latest known position for one vehicle (legacy id).
Overview
Returns the latest known position for one vehicle (legacy id), enriched via snapshot + geo services when applicable.Endpoint
POST /api/GetLastPositionData
Query parameters
Response
200 OK —PositionDto or null if no record.
Major fields include Lat, Lng, UtcTime, DeviceId (legacy id), IMEI, DeviceName, Vin, Speed, Course, Ignition, Odometer, Voltage, Address, isOnline (when derived from snapshots), and legacy spellings UserTimeFormated, ConnectionStrengh, LastMovementTimeUserFormated.
Error responses
| Status | Meaning |
|---|---|
| 404 | Unknown legacy id |
| 401 | Vehicle not allowed |
Authorizations
JWT Bearer token obtained from POST /api/authentication/token/user or POST /api/authentication/token/api-key.
Lifetime: ~24 hours (86,399 seconds). Cache the token and reuse it. Re-authenticate 5 minutes before expiry.
Scoping:
- User tokens are scoped to a single company.
- API key tokens may restrict access to a vehicle allowlist and/or action set (see token claims).
No refresh endpoint — re-authenticate with your credentials when the token expires.
Headers
Standard and must keep as it is.
Bearer your_token
Query Parameters
Vehicle ID.
Response
Successful response with position data
1305200
Time in UTC
"2024-01-15T10:30:00Z"
Time in user timezone
"2024-01-15T12:30:00+02:00"
Timestamp in the user's configured date-time format (e.g. "15/01/2024 12:30:00"). Note: The field name is intentionally misspelled (UserTimeFormated, single 't') to preserve backward compatibility.
"15/01/2024 12:30:00"
Latitude
40.7128
Longitude
-74.006
Unit: km/h. Current vehicle speed.
65.5
Direction, degrees (N - 0, E - 90, S - 180, W - 270)
90
Ignition status
true
Unit: km. Total distance travelled (odometer reading).
125000.5
Unit: V (volts). Vehicle battery voltage.
12.6
ISO 8601 duration string representing continuous driving time (fatigue monitoring).
"PT2H30M"
Unit: hours (decimal). Cumulative engine-on time. This is a plain number, not an ISO 8601 duration.
30.5
Satellite signal status
"Good"
Number of satellites
8
Connection strength category (e.g. "Excellent", "Good", "Poor"). Note: The field name is intentionally misspelled (ConnectionStrengh, missing 'd') to preserve backward compatibility with the legacy API. Use this exact spelling in your integration.
"Excellent"
Vehicle ID
12345
Unit: seconds. Elapsed time since ignition turned on (trip duration).
3600.5
Name of the vehicle
"Fleet Vehicle 001"
IMEI of the tracker
"123456789012345"
VIN of the vehicle
"1HGBH41JXMN109186"
Time when vehicle started to move, UTC
"2024-01-15T08:00:00Z"
Time when vehicle started to move, user timezone
"2024-01-15T10:00:00+02:00"
Time when vehicle stopped, UTC
"2024-01-15T16:00:00Z"
Time when vehicle stopped, user timezone
"2024-01-15T18:00:00+02:00"
Time when vehicle stopped, in the user's timezone and date-time format. Note: The field name is intentionally misspelled (LastMovementTimeUserFormated, single 't') to preserve backward compatibility.
"15/01/2024 18:00:00"
Unit: seconds. Total driving time within the current trip.
3000
Driver name if any
"John Smith"
Fuel level, %
0 <= x <= 10075
DTC code
"P0301"
Is the door locked (Deprecated)
true
Address of the vehicle
"123 Main St, New York, NY 10001"
Whether the engine is enabled
true
Unit: seconds. Server-side time taken to process this request. Note: This field uses camelCase (intentional) while most other fields use PascalCase.
0.125
UTC timestamp when this request was received by the server. Note: This field uses camelCase (intentional) while most other fields use PascalCase.
"2024-01-15T10:30:00Z"
UTC timestamp when this request completed. Note: This field uses camelCase (intentional) while most other fields use PascalCase.
"2024-01-15T10:30:01Z"