TrackerHub
  1. Configuration
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
      • Position
      • Position
      • Create Position
      • Position :vendor
      • latest-position
      • latest-positions
      • latest-positions :deviceId
    • Configuration
      • Config
        POST
      • Config
        DELETE
      • Config
        PATCH
      • Config
        GET
    • Healthcheck
      GET
  1. Configuration

Config

Production reader
https://api.exati.com.br/tracking/read
Production reader
https://api.exati.com.br/tracking/read
PATCH
/config
Configuration
This method is responsible for updating the configured parameters.

Request

Body Params application/json
maxSpeedKmh
integer 
required
Speed limit to consider a position as above the speed limit on the Speeding report.
>= 0
minStopMinutes
integer 
required
Minimum time required to consider a segment as STOPPED on the movements report.
>= 0
maxStopSpeedKmh
integer 
required
Minimum speed required to consider a segment as STOPPED on the movements report.
>= 0
maxStopDistanceMeters
integer 
required
Minimum distance traveled to consider a segment as STOPPED on the movements report.
>= 0
minMovementSpeedKmh
integer 
required
Minimum speed required to consider a segment as MOVING on the movements report.
>= 0
minMovementDistanceMeters
integer 
required
Minimum distance required to consider a segment as MOVING on the movements report.
>= 0
gapThresholdSeconds
integer 
required
Minimum time between data submissions to consider a segment as a GAP on the movements report.
>= 0
Example
{
    "maxSpeedKmh": 70,
    "minStopMinutes": 3,
    "maxStopSpeedKmh": 1,
    "maxStopDistanceMeters": 50,
    "minMovementSpeedKmh": 2,
    "minMovementDistanceMeters": 100,
    "gapThresholdSeconds": 300
}

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 PATCH 'https://api.exati.com.br/tracking/read/config' \
--header 'Content-Type: application/json' \
--data-raw '{
    "maxSpeedKmh": 70,
    "minStopMinutes": 3,
    "maxStopSpeedKmh": 1,
    "maxStopDistanceMeters": 50,
    "minMovementSpeedKmh": 2,
    "minMovementDistanceMeters": 100,
    "gapThresholdSeconds": 300
}'

Responses

🟢200OK
application/json
Example of a Successful response
Body
status
string 
optional
ok
message
string 
optional
Entity processed successfully
Example
{
    "status": "ok",
    "message": "Entity processed successfully"
}
🟠400Bad Request
Previous
Config
Next
Config