Websocket Map


Journey Request
 

{
    journeyReq: {
        "outputType": "data",
        "trackerID": "5315672",
        "dateFrom": 3751938000,
        "dateTo": 3753966600,
        "includeFlags": 8,
        "inJnyLimitIntvalKm": 50,
        "noMoveTimeoutIgnAssistSec": 300,
        "noMoveTimeoutSec": 180,
        "ignLookBackSec": 3600,
        "jnyMinMtrs": 400,
        "shortDistMinSec": 600,
        "revGeoKmInterval": 0,
        "emailAdd": "test@test.com"
    }
}

 



outputType


data = return journey data
url = return url of document (PDF)
email = e-mail report

 

dateFrom & dateTo


10ths of a second since Y2K

includeFlags (optional)


0 = none (default)
1 = Out of Journey
2 = Idle
4 = Ignition
8 = IOEvents

 

inJnyLimitIntvalKm (optional)


How often you want to know the trackers location between start & stop locations

-1 everything
0 summary only (default)
> 0.0 Km Interval


noMoveTimeoutIgnAssistSec (optional)


How long in seconds no movement becomes marked as an end of journey. This variable is used instead of noMoveTimeoutSec when an ignition ON was recorded at the start of the journey.

>= 0 <= 7200

default 300


noMoveTimeoutSec (optional)


How long in seconds no movement becomes marked as an end of journey.

>= 0 <= 7200

default 180


ignLookBackSec (optional)


When movement is detected, how far back in seconds to look for an ignition ON signal.

>= 0 <= 7200

default 3600


jnyMinMtrs (optional)


The minimum number of meters acceptable as a journey. (to low, and shunting a vehicle around a yard would become a journey)

>= 10 <= 2000

default 100


shortDistMinSec (optional)


A tracker in somebodies pocket carried indoors around a medium/large building, could be enough to trigger a journey if not suppressed. But too much suppression would stop a vehicle journey that start and end at the same location (a round trip, without any significant stop in between, such a dropping a letter in a postbox), could also be suppressed too.

>= 1 <= 3600

default 600


revGeoKmInterval (optional)


-1 summary only
0 off
>0.0 distance to report

default 0


emailAdd (optional)


Required when outputType = email