Versions Compared

Key

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

Lädt die ausgewählte signierte Digitacho Datei herunter.

Beschreibung

dt_rdl.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&command=download&download=id&markdowload=0

Parameter

ParameterBeschreibungTypHinweisPflicht
companyRTI Firmenschlüsselstring ja
vehicleRTI Fahrzeugschlüsselstringentweder vehicle oder group Parameter(ja)
groupRTI Gruppenschlüsselstringoder(ja)
importRTI Importschlüsselstringimport Parameter für alle Fahrzeuge(ja)
commandKommando: downloadstring ja
downloadID der Downloaddatei
 
stringliefert das Kommando: 'list'ja
markdownloadmarkiert Dateistring0 - Datei wird nicht als heruntergeladen markiert
1 - Datei wird nach erfolgreichem Download als heruntergeladen markiert
ja

Rückgabe

Datei als Download. Im Fehlerfall wird "ERROR_Beschreibung" zurückgegeben.

Beispielaufrufe

Code Block
titleAktuelle Position eines Fahrzeuges im CSV Format
http://dev.yellowfox.de/rti/dt_rdl.php?company=(HEXKEY)&vehicle=(HEXKEY)&command=download&download=123456&markdownload=1
Sv translation
languageen

Offers for download selected signed file of digital tachograph.

Description

 

dt_rdl.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&command=list&show=new&start=YYYYMMDDHHMM&end=YYYYMMDDHHMM


Parameter

ParameterDescriptionTypeNoteMandatory
companyRTI company keystring yes
vehicleRTI vehcile keystringvehicle or group parameter(yes)
groupRTI group keystringvehicle or group parameter(yes)
importRTI import keystringor import parameter for all vehicles(yes)
commandcommand: liststring yes
show'all': shows all files
'new': shows files which are not downloaded up to now
string yes
startbegin of requested timerangedatestring

Format: YYYYMMDDHHMMSS

no

endend of requested timerangedatestring

Format: YYYYMMDDHHMMSS

no
formatreturn formatstringcsvno

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

Header

Code Block
titleHeader informations
"DID";"DATETIME";"NEW";"FILENAME","VEHICLE","TYPE";"DRIVERID";"DRIVERNAME";


Columns

ColumnDescription 
DIDID of downloaded file (important for download of RTI file) 
DATETIMEdate when file was createdFormat: YYYYMMDDHHMMSS
NEW1 - get new files, 0 - already downloaeded 
FILENAMEfile name 
VEHICLElicense plate of vehicle where file was downloaded 
TYPEdriver or vehicle 
DRIVERIDcard number of driver (first 13 token will be used) 
DRIVERNAMEname of driver 

Example

Code Block
"DID";"DATETIME";"NEW";"FILENAME","VEHICLE","TYPE";"DRIVERID";"DRIVERNAME";
"123456";"20120725001100";"1";"C_20120725_0011_Slot_1_1000000000000.DDD";"DD-YF 2012";"DRIVER";"1000000000000";"Testfahrer";
"789012";"20120725144700";"0";"M_20120725_1447__DD-YF_2012___WDB324865L2222229.DDD";"DD-YF 2012";"VEHICLE";"";"";

Example Calls

Code Block
titlecurrent position of one vehicle
http://dev.yellowfox.de/rti/dt_rdl.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&command=list&show=new&start=20151020120000&end=20151025120000