Sets the locating interval, at ignition on for a vehicle. Switches hardware specific the travel interval, time interval or course change. DescriptionPOST set_tracking.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&,mode=intelligentlocating&value=active ParameterParameter | 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 | - coursechange
- distanceinterval
- minuteinterval
- intelligentlocating
| yes | value | Value of the selected interval | int/string | see "Possible values" | yes |
Possible valuesParameter | Description | Type | Possible values |
---|
coursechange | Locate at ignition on at course change | int | | distanceinterval | Locate with ignition on for all X km | int | - 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 min | int | - 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 | |
ReturnBy 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 |
|