Trip Replay (UTC)
Trip replay for a vehicle between two UTC datetimes.
id parameters refer to the legacy vehicle id unless stated otherwise.
Overview
Same asGetReplayUserTime—trip replay for the vehicle between from and to (UTC in service).
Endpoint
POST /api/GetReplay
Query parameters
Same asGetReplayUserTime (id, from, to).
Response
200 OK —TripDto[]. See Trip replay (user time) for the full field list and known issues (Distance in km, Duration as .NET TimeSpan, Points using camelCase field names).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
From Date and Time
To Date and Time
Response
Successful response with array of vehicle trip data
1305020
Unit: metres (not kilometres). Total distance of the trip.
15640.75
Duration of the trip
"PT1H25M"
Start address of the trip
"123 Main St, New York, NY 10001"
End address of the trip
"789 Park Ave, New York, NY 10021"
Start time of the trip (user timezone)
"2024-01-15T08:00:00+02:00"
End time of the trip (user timezone)
"2024-01-15T09:25:00+02:00"
Encoded string of the trip path for Google Static Maps
"mfp_IvhkeLh@d@pFzBrA@v@eBhA"`
Google Static Maps URL
"https://maps.googleapis.com/maps/api/staticmap?path=enc:mfp_IvhkeLh@d@pFzBrA@v@eBhA"`
List of vehicle positions within the trip