set_tracking.php

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

Table of Contents

Sets the locating interval, at ignition on for a vehicle. Switches hardware specific the travel interval, time interval or course change.

Description

POST set_tracking.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&,mode=intelligentlocating&value=active

Parameter

ParameterDescriptionTypeNoteMandatory
companyRTI company keystring yes
vehicleRTI vehicle keystring yes
modewhich type of locating interval should be setstring
  • coursechange
  • distanceinterval
  • minuteinterval
  • intelligentlocating
yes
valueValue of the selected intervalint/stringsee "Possible values"yes

Possible values

ParameterDescriptionTypePossible values
coursechangeLocate at ignition on at course changeint
  • 0 = off
  • 1 = on
distanceintervalLocate with ignition on for all X kmint
  • 0 = Kilometer tracking deactivated
  • 1 = Locate every km
  • 2 = Locate every 2 km
  • 5 = Locate every 5 km
  • 10 = Locate every 10 km 
minuteintervalLocate with ignition on for all X minint
  • 0 = Time interval disabled
  • 1 = Locate every 1 minutes
  • 2 = Locate every 2 minutes
  • 5 = Locate every 5 minutes
  • 10 = Locate every 10 minutes
  • 15 = Locate every 15 minutes
  • 30 = Locate every 30 minutes
intelligentlocatingwhen all 3 locating intervals are activatedstring
  • inactive
  • active 

Return

By default, a CSV string is returned, which contains OK for each vehicle on success. If an error occurs, an "ERROR:Description" is returned.

Example calls

sets the locating interval to 5 km

https://map.yellowfox.de/rti/set_tracking.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&mode=distanceinterval&value=5
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

sets the locating interval to 2 minutes

https://map.yellowfox.de/rti/set_tracking.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&mode=minuteinterval&value=2
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

activates the change of course

https://map.yellowfox.de/rti/set_tracking.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&mode=coursechange&value=1
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

activates the intelligent tracking

https://map.yellowfox.de/rti/set_tracking.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&mode=intelligentlocating&value=active
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