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

Parameter

Description

Type

Note

Mandatory

companyRTI company keystring

yes

vehicleRTI vehicle keystring
yes
mode

which type of locating interval should be set

string
  • coursechange
  • distanceinterval
  • minuteinterval
  • intelligentlocating

yes

valueValue of the selected intervalint/stringsee "Possible values"yes

Possible values

Parameter

Description

Type

Possible values

coursechange

Locate at ignition on at course changeint
  • 0 = off
  • 1 = on

distanceinterval

Locate 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 

minuteinterval

Locate 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

intelligentlocating

when all 3 locating intervals are activated

string
  • 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
  • No labels