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 ParameterParameter | Description | Type | Note | Mandatory |
---|
company | RTI company key | string | |
| yes | vehicle | RTI vehcile key | string | vehicle or group parameter | (yes) | group | RTI group key | string | vehicle or group parameter | (yes) | import | RTI import key | string | or import parameter for all vehicles | (yes) | command | command: listdownload | string | | yes | show | 'all': shows all files 'new': shows files which are not downloaded up to now | string | | yes | start | begin of requested timerange | datestring | Format: YYYYMMDDHHMMSS | no | end | end of requested timerange | datestring | Format: YYYYMMDDHHMMSS | no | format | return format | string | csv | no |
Return
| yes | download | ID of download file | string | use command: 'list' to require this ID | yes | markdownload | mark file | string | 0 - file will not be marked after download 1 - fill will be marked if download was successful | yes |
ReturnFile as downloadReturn a string. In case of error it returns "ERROR_description". Separator | Semicolon ( ; ) |
---|
Delimiter | Double quote ( " ) |
---|
Line break | 0x0D 0x0A (CarriageReturn LineFeed) |
---|
Header | Line 1 |
---|
Header Code Block |
---|
| "DID";"DATETIME";"NEW";"FILENAME","VEHICLE","TYPE";"DRIVERID";"DRIVERNAME"; |
ColumnsColumn | Description | |
---|
DID | ID of downloaded file (important for download of RTI file) | | DATETIME | date when file was created | Format: YYYYMMDDHHMMSS | NEW | 1 - get new files, 0 - already downloaeded | | FILENAME | file name | | VEHICLE | license plate of vehicle where file was downloaded | | TYPE | driver or vehicle | | DRIVERID | card number of driver (first 13 token will be used) | | DRIVERNAME | name 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";"";"";:Description". Example Calls Code Block |
---|
title | current position of one vehicle | Request 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 |
|