Page tree
Skip to end of metadata
Go to start of metadata

This function returns a signature file (PNG), an uploaded picture/ photo (JPG) or a digital tachograph file (DDD).

Description

GET get_file.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&filename=MD5

Parameter


Parameter
Description
Type
Note
Mandatory
companyRTI company keystring
yes
vehicleRTI vehicle keystring

You have to send one of these parameters, vehicle, group or import!

yes
groupRTI group keystringYou have to send one of these parameters, vehicle, group or import!yes
import

RTI import key(all vehicles)

stringYou have to send one of these parameters, vehicle, group or import!yes
filenameMD5 Hashstring

you get from get_custom_form_data.php or get_file_list.php,

YellowFox-filename, not the original filename (field DID in get_file_list.php)

yes
markdownload

0 - marks this file not as downloaded

1 - marks this file as downloaded

integer0 is the standardno

Return

You get a PNG, a JPG or a DDD file for download. If not you get a error message "ERROR:Description".

Error reponses

errordescription
NO_FILE_FOUNDFile not found.
FILE_NOT_UPLOADEDFile is in transmission. Please try again later.
NOT_SUPPORTED_FILETYPEFile type unknown. Please contact support.

Example call

example call for returning an image file
https://map.yellowfox.de/rti/get_file.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&filename=1832c7a0a4aa71647523d1a75e4506da&markdownload=1

https://map.yellowfox.de/rti/get_file.php?company=COMPANY_RTIKEY&vehicle={"type":"car_ident","groupKey":"GROUP_RTIKEY","ident":"VEHICLE_IDENT"}&filename=1832c7a0a4aa71647523d1a75e4506da&markdownload=1


  • No labels