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 |
---|---|---|---|---|
company | RTI company key | string | yes | |
vehicle | RTI vehicle key | string | yes | |
mode | which type of locating interval should be set | string |
| yes |
value | Value of the selected interval | int/string | see "Possible values" | yes |
Possible values
Parameter | Description | Type | Possible values |
---|---|---|---|
coursechange | Locate at ignition on at course change | int |
|
distanceinterval | Locate with ignition on for all X km | int |
|
minuteinterval | Locate with ignition on for all X min | int |
|
intelligentlocating | when all 3 locating intervals are activated | string |
|
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 |