Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Sv translation
languagede

Setzt den Ortungsintervall, bei Zündung an für ein Fahrzeug. Schaltet hardwarespezifisch den Wegintervall,  Zeitintervall oder Kurswechsel um.

Beschreibung

Status
colourBlue
titlePOST
 set_tracking.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&,mode=intelligentlocating&value=active

Parameter

ParameterBeschreibungTypHinweisPflicht
companyRTI Firmenschlüsselstring

ja

vehicleRTI Fahrzeugschlüsselstring
ja
mode

welche Art des Ortungsintervall gesetzt werden soll

string
  • coursechange
  • distanceinterval
  • minuteinterval
  • intelligentlocating

ja

valueWert des ausgewähltem Intervallsint/stringsiehe "Mögliche Werte"ja

Mögliche Werte

ParameterBeschreibungTypgültige Werte

coursechange

Ortung bei Zündung an bei Kurswechselint
  • 0 = aus
  • 1 = an

distanceinterval

Ortung bei Zündung an für alle X kmint
  • 0 = Kilometerortung deaktiviert
  • 1 = Ortung jeden Kilometer
  • 2 = Ortung alle 2 km
  • 5 = Ortung alle 5 km
  • 10 = Ortung alle 10 km 

minuteinterval

Ortung bei Zündung an für alle X minint
  • 0 = Zeitintervall deaktiviert
  • 1 = Ortung alle 1 Minuten
  • 2 = Ortung alle 2 Minuten
  • 5 = Ortung alle 5 Minuten
  • 10 = Ortung alle 10 Minuten
  • 15 = Ortung alle 15 Minuten
  • 30 = Ortung alle 30 Minuten

intelligentlocating

wenn alle 3 Ortungsintervalle aktiviert sind

string
  • inactive = Intelligente Ortung deaktiviert
  • active = Intelligente Ortung aktiviert

Rückgabe

Es wird ein string zurückgegeben. Bei Erfolg wird als Antwort "OK" zurückgegeben. Ansonsten wird ein "ERROR:Beschreibung" zurückgegeben

Beispielaufrufe

Code Block
titlesetzt den Ortungsintervall auf 5 km
https://map.yellowfox.de/rti/set_tracking.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&mode=distanceinterval&value=5


Code Block
titlesetzt den Ortungsintervall auf 2 Minuten
https://map.yellowfox.de/rti/set_tracking.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&mode=minuteinterval&value=2


Code Block
titleaktiviert den Kurswechsel
https://map.yellowfox.de/rti/set_tracking.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&mode=coursechange&value=1


Code Block
titleaktiviert die intelligente Ortung
https://map.yellowfox.de/rti/set_tracking.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&mode=intelligentlocating&value=active


Sv translation
languageen

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


sets the locating interval to 2 minutes


activates the change of course


activates the intelligent tracking