Changes for page set_tracking.php

Last modified by YellowFox_RD on 2025/01/23 09:48

From version 1.1
edited by YellowFox_RD
on 2024/12/19 10:11
Change comment: Imported from XAR
To version 3.1
edited by YellowFox_RD
on 2025/01/23 09:48
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,14 +1,21 @@
1 1  (% class="box" %)
2 -(((Table of Contents)))
2 +(((
3 +Table of Contents
4 +)))
5 +
3 3  {{toc/}}
4 4  
5 5  Sets the locating interval, at ignition on for a vehicle. Switches hardware specific the travel interval, time interval or course change.
9 +
6 6  = Description =
7 -//**(% class="blue mark" %)POST(%%) set_tracking.php?company**=COMPANY_RTIKEY**&vehicle**=VEHICLE_RTIKEY**&,mode=**intelligentlocating**&value=**active//
11 +
12 +(% class="blue mark" %)//**POST**//(%%)//** set_tracking.php?company**=COMPANY_RTIKEY**&vehicle**=VEHICLE_RTIKEY**&,mode=**intelligentlocating**&value=**active//
13 +
8 8  = Parameter =
15 +
9 9  |=Parameter|=Description|=Type|=Note|=Mandatory
10 -|company|RTI company key|string||yes
11 -|vehicle|RTI vehicle key|string||yes
17 +|company|RTI company key|string| |yes
18 +|vehicle|RTI vehicle key|string| |yes
12 12  |mode|which type of locating interval should be set|string|(((
13 13  * coursechange
14 14  * distanceinterval
... ... @@ -18,6 +18,7 @@
18 18  |value|Value of the selected interval|int/string|see "Possible values"|yes
19 19  
20 20  = Possible values =
28 +
21 21  |=Parameter|=Description|=Type|=Possible values
22 22  |coursechange|Locate at ignition on at course change|int|(((
23 23  * 0 = off
... ... @@ -28,7 +28,7 @@
28 28  * 1 = Locate every km
29 29  * 2 = Locate every 2 km
30 30  * 5 = Locate every 5 km
31 -* 10 = Locate every 10 km 
39 +* 10 = Locate every 10 km
32 32  )))
33 33  |minuteinterval|Locate with ignition on for all X min|int|(((
34 34  * 0 = Time interval disabled
... ... @@ -42,26 +42,39 @@
42 42  )))
43 43  |intelligentlocating|when all 3 locating intervals are activated|string|(((
44 44  * inactive
45 -* active 
53 +* active
46 46  )))
47 47  
48 48  = Return =
49 -By default, a **CSV string** is returned, which contains **OK **for each vehicle on success. If an error occurs, an "**ERROR:Description**" is returned.
57 +
58 +By default, a **CSV string** is returned, which contains **OK **for each vehicle on success. If an error occurs, an "**ERROR:Description**" is returned.
59 +
50 50  = Example calls =
51 51  
52 52  **sets the locating interval to 5 km**
53 -|https:~/~/map.yellowfox.de/rti/set_tracking.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&mode=distanceinterval&value=5
54 -https:~/~/map.yellowfox.de/rti/set_tracking.php?company=COMPANY_RTIKEY&vehicle={"type":"car_ident","groupKey":"GROUP_RTIKEY","ident":"VEHICLE_IDENT"}&mode=distanceinterval&value=5
55 55  
64 +{{code language="java"}}
65 +https://map.yellowfox.de/rti/set_tracking.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&mode=distanceinterval&value=5
66 +https://map.yellowfox.de/rti/set_tracking.php?company=COMPANY_RTIKEY&vehicle={"type":"car_ident","groupKey":"GROUP_RTIKEY","ident":"VEHICLE_IDENT"}&mode=distanceinterval&value=5
67 +{{/code}}
68 +
56 56  **sets the locating interval to 2 minutes**
57 -|https:~/~/map.yellowfox.de/rti/set_tracking.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&mode=minuteinterval&value=2
58 -https:~/~/map.yellowfox.de/rti/set_tracking.php?company=COMPANY_RTIKEY&vehicle={"type":"car_ident","groupKey":"GROUP_RTIKEY","ident":"VEHICLE_IDENT"}&mode=minuteinterval&value=2
59 59  
71 +{{code language="java"}}
72 +https://map.yellowfox.de/rti/set_tracking.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&mode=minuteinterval&value=2
73 +https://map.yellowfox.de/rti/set_tracking.php?company=COMPANY_RTIKEY&vehicle={"type":"car_ident","groupKey":"GROUP_RTIKEY","ident":"VEHICLE_IDENT"}&mode=minuteinterval&value=2
74 +{{/code}}
75 +
60 60  **activates the change of course**
61 -|https:~/~/map.yellowfox.de/rti/set_tracking.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&mode=coursechange&value=1
62 -https:~/~/map.yellowfox.de/rti/set_tracking.php?company=COMPANY_RTIKEY&vehicle={"type":"car_ident","groupKey":"GROUP_RTIKEY","ident":"VEHICLE_IDENT"}&mode=coursechange&value=1
63 63  
78 +{{code language="java"}}
79 +https://map.yellowfox.de/rti/set_tracking.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&mode=coursechange&value=1
80 +https://map.yellowfox.de/rti/set_tracking.php?company=COMPANY_RTIKEY&vehicle={"type":"car_ident","groupKey":"GROUP_RTIKEY","ident":"VEHICLE_IDENT"}&mode=coursechange&value=1
81 +{{/code}}
82 +
64 64  **activates the intelligent tracking**
65 -|https:~/~/map.yellowfox.de/rti/set_tracking.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&mode=intelligentlocating&value=active
66 -https:~/~/map.yellowfox.de/rti/set_tracking.php?company=COMPANY_RTIKEY&vehicle={"type":"car_ident","groupKey":"GROUP_RTIKEY","ident":"VEHICLE_IDENT"}&mode=intelligentlocating&value=active
67 -
84 +
85 +{{code language="java"}}
86 +https://map.yellowfox.de/rti/set_tracking.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&mode=intelligentlocating&value=active
87 +https://map.yellowfox.de/rti/set_tracking.php?company=COMPANY_RTIKEY&vehicle={"type":"car_ident","groupKey":"GROUP_RTIKEY","ident":"VEHICLE_IDENT"}&mode=intelligentlocating&value=active
88 +{{/code}}