Skip to main content
POST
/
api
/
LastTimeOnline
/
{vehicleId}
Get last time online for vehicle
curl --request POST \
  --url https://api.telemax.com.au/api/LastTimeOnline/{vehicleId} \
  --header 'Authorization: <authorization>'
[
  {
    "lastTimeUTC": "2024-01-15T10:30:00Z",
    "secondsAgo": 861895.4007076
  }
]

Headers

Content-Type
string

Standard and must keep as it is.

Authorization
string
required

Bearer your_token

Path Parameters

vehicleId
integer
required

Vehicle ID

Response

200 - application/json

Successful response with timestamp data.

lastTimeUTC
string<date-time>

Time in UTC

Example:

"2024-01-15T10:30:00Z"

secondsAgo
number

Number of seconds ago.

Example:

861895.4007076