Versions Compared

Key

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

Status
colourRed
titleDEPRECATED

Wurde durch die Funktion get_file.php (https://doc.yellowfox.net/display/RTI/get_file.php) ersetzt.

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 FormatAufruf zum Herunterladen einer Digitacho Datei
httpshttp://devmap.yellowfox.de/rti/dt_rdl.php?company=(HEXKEY)&vehicle=(HEXKEY)&command=download&download=123456&markdownload=1


"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";"";"";

:Description".

Example Calls

Sv translation
languageen

Status
colourRed
titleDEPRECATED

Please use get_file.php (https://doc.yellowfox.net/display/RTI/get_file.php).

Offers for download selected signed file of digital tachograph.

Description

 

 

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

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: listdownloadstring 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


yes
downloadID of download filestringuse command: 'list' to require this IDyes
markdownloadmark filestring

0 - file will not be marked after download
1 - fill will be marked if download was successful

yes

Return

File as downloadReturn 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
Code Block
titlecurrent position of one vehicleRequest for download
httpshttp://devmap.yellowfox.de/rti/dt_rdl.php?company=COMPANY_RTIKEY(HEXKEY)&vehicle=VEHICLE_RTIKEY(HEXKEY)&command=listdownload&showdownload=new123456&start=20151020120000&end=20151025120000

 

 
markdownload=1