API Command: – Get object(s) last known location data in JSON format.
The command to retrieve the location of the objects that exist in your account is the get_location.
Request:
URL: https://uapi.trackservice.cloud/public/get_location
method: POST
Parameter: imeis
Object IMEI, for multiple IMEIs separate them via semicolon. By default it returns location for all objects.
Response:
Success: 200 Ok
{
“status”: 0,
“message”: “”,
“data”: {
“objects”: [
{
“name”: “BMW”,
“imei”: “358481145637691”,
“dt_server”: “2024-01-02 00:00:00”,
“dt_tracker”: “20024-01-02 00:00:00”,
“lat”: 55.0123456,
“lng”: 60.123456,
“angle”: 212,
“altitude”: 1023,
“speed”: 63,
“params”: “List of available parameters in Json string”,
“loc_valid”: 1,
}
]
}
}
status always 0 and message empty
Error
{
“status”: 644,
“message”: “Some error description”
}
status has error number, message has error description