You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Returns position data for the requested vehicle or vehicle group.

Description

get_pos.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&start=YYYYMMDDHHMM&end=YYYYMMDDHHMM&format=csv

Parameter

ParameterDescriptionTypeNoteMandatory
companyRTI company keystring yes
vehicleRTI vehcile keystringvehicle or group parameter(yes)
groupRTI group keystringvehicle or group parameter(yes)
startbegin of requested timerangedatestring

Format: YYYYMMDDHHMMSS

Date when the message was processed in the data center (insertdate)

no

endend of requested timerangedatestring

Format: YYYYMMDDHHMMSS

Date when the message was processed in the data center (insertdate)

no
formatreturn formatstringcsv (default) or xmlno

Return

Return a stringIn case of error it returns "ERROR_description".

CSV Format

Meta informations

SeparatorSemicolon ( ; )
DelimiterDouble quote ( " )
Line break0x0D 0x0A (CarriageReturn LineFeed)
HeaderLine 1

Columns

ColumnDescription 
VEHICLEvehicle licence 
DATEGPS date of message creationFormat: YYYY-MM-DD HH:MM:SS
LATLatitudeExample.: 51.03659
LONLongitudeExample.: 13.59967
POSadress text 
DIRdirection in grade0=North, 90=East
SATAnzahl Satelliten 
SPEEDspeed in full km/h 
IGNignition state0 = off, 1 = on
REASONreason of the message 
KModometer value in full km 
INSERTDATEDate when the message was processed in the data centerFormat: YYYY-MM-DD HH:MM:SS
UTCDATEUTC date of message creationFormat: YYYY-MM-DD HH:MM:SS
DRIVERname of logged in driver 
CUSTOMERcustomer namein case of a possible customer position allocation
ETA_TIMEestimated time of arrival at navigation targetFormat: YYYY-MM-DD HH:MM:SS
ETA_DISTestimated time of arrival at navigation target in kilometer 
ETA_DURestimated duration of arrival at navigation target in seconds 
ETA_LATLatitute coordinate of navigation targetBsp.: 51.03659
ETA_LONLongitude coordinate of navigation targetBsp.: 13.59967
ETA_DESCcustomer allocation of navigation targetin case of a possible customer position allocation

Example

"VEHICLE";"DATE";"LAT";"LON";"POS";"DIR";"SAT";"SPEED";"IGN";"REASON";"KM";"INSERTDATE";"UTCDATE";"DRIVER";"CUSTOMER";"ETA_TIME";"ETA_DIST";"ETA_DUR";"ETA_LAT";"ETA_LON";"ETA_DESC"
"353234024326181";"2015-04-15 08:52:42";"51.03669";"13.59925";"D-01723 Wilsdruff Am Wüsteberg 3";"207";"10";"0";"0";"Nachrichtstatus aktualisiert";"52469";"2015-04-15 08:52:57";"2015-04-15 06:52:42";"Herr Mueller";"YellowFox GmbH";"2015-04-15 09:52:42";"12.33";"3600";"50.862247";"12.908245";"Kunde Mueller"

XML Format

<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE yfrtiout SYSTEM "http://map.yellowfox.de/rti/dtd/yfrtiout-1.2.dtd">
<yfrtiout>
   <message>
      <vehsign>353234024326181</vehsign>
      <date>2015-04-15 08:52:42</date>
      <lat>51.03669</lat>
      <lon>13.59925</lon>
      <pos>D-01723 Wilsdruff Am Wüsteberg 3</pos>
      <dir>207</dir>
      <sat>10</sat>
      <speed>0</speed>
      <ign>0</ign>
      <reason>Nachrichtstatus aktualisiert</reason>
      <km>52469</km>
      <insertdate>2015-04-15 08:52:57</insertdate>
      <utcdate>2015-04-15 06:52:42</utcdate>
      <driver>Herr Mueller</driver>
      <customer>YellowFox GmbH</customer>
	  <eta_time>2015-04-15 09:52:42</eta_time>
	  <eta_dist>12.33</eta_dist>
	  <eta_dur>3600</eta_dur>
	  <eta_lat>50.862247</eta_lat>
	  <eta_lon>12.908245</eta_lon>
	  <eta_desc>Kunde Mueller</eta_desc>
   </message>
</yfrtiout>

Example Calls

current position of one vehicle
http://map.yellowfox.de/rti/get_pos.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY
position of a car at a defined time range in xml format
http://map.yellowfox.de/rti/get_pos.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&start=20150401000000&end=20150401235959&format=xml

 


  • No labels