dt_rdl.php (Command: list)

Last modified by YellowFox_RD on 2024/12/19 10:11

Table of Contents

DEPRECATED
Please use get_file_list.php (https://doc.yellowfox.net/display/RTI/get_file_list.php).
Returns a list of files, which were downloaded from digital tachograph.

Description

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

Parameter

ParameterDescriptionTypeNoteMandatory
companyRTI company keystringyes
vehicleRTI vehcile keystringvehicle or group parameter(yes)
groupRTI group keystringvehicle or group parameter(yes)
importRTI import keystringor import parameter for all vehicles(yes)
commandcommand: liststringyes
show'all': shows all files
'new': shows files which are not downloaded up to now
stringyes
startbegin of requested timerangedatestringFormat: YYYYMMDDHHMMSSno
endend of requested timerangedatestringFormat: YYYYMMDDHHMMSSno
formatreturn formatstringcsvno
date_type'process' Uses the date time where the file was firstprocessed by YellowFox,
and not the file creation date. This setting affects the meaning of the parameters
'start' and 'end' and the return value DATETIME inside the CSV
no

Return

Return a string. In case of error it returns "ERROR:Description".

CSV Format

Meta informations

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

Header

Header 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 created, or if date_type=process the processing dateFormat: 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

"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

Request to get list of files
https://map.yellowfox.de/rti/dt_rdl.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&command=list&show=new&start=20151020120000&end=20151025120000