TrackerHub
  1. Position
TrackerHub
  • Docs
    • 01. Project Overview
    • 02. Authentication
    • 03. Error Handling
    • 04. Input Operations
    • 05. GPS Position Workflow
  • API
    • Device Type
      • Device Type
    • Tracker
      • Tracker
      • Tracker
      • Tracker
      • Tracker
    • Device
      • Create Device
      • List Device
      • Device
      • Device
      • Device
    • Position
      • Position
        GET
      • Position
        PATCH
      • Position
        DELETE
      • Create Position
        POST
      • Position :vendor
        POST
      • latest-position
        GET
      • latest-positions
        POST
      • latest-positions :deviceId
        GET
    • Configuration
      • Config
      • Config
      • Config
      • Config
    • Healthcheck
      GET
  1. Position

latest-positions :deviceId

Production reader
https://api.exati.com.br/tracking/read
Production reader
https://api.exati.com.br/tracking/read
GET
/latest-positions/{deviceId}
Position
This method is responsible for returning the latest position of a single device specified by the query parameters.

Request

Path Params
deviceId
string 
required
Query Params
deviceId
string 
optional
The Device ID
Body Params application/json
object {0}
Example
{}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.exati.com.br/tracking/read/latest-positions/' \
--header 'Content-Type: application/json' \
--data-raw '{}'

Responses

🟢200OK
application/json
Example of a Latest position list response
Body
array of:
instanceUuid
string 
optional
The Client Instance ID
deviceId
integer 
optional
A Device ID
deviceUuid
string 
optional
The device unique code
deviceCode
string 
optional
The device code
longitude
number 
optional
The latest longitude for a Device
latitude
number 
optional
The latest latitude for a device
timestamp
string 
optional
The latest timestamp for a device
Example
[
    {
        "instanceUuid": "123",
        "deviceId": 1,
        "deviceUuid": "12345678-165d-4fc4-a0c9-50880f0520ae",
        "deviceCode": "test device 1",
        "longitude": -97.155282,
        "latitude": 25.997053,
        "timestamp": "2025-01-06T20:08:16.031Z"
    }
]
🟠400Bad Request
Previous
latest-positions
Next
Config