Changes for page get_file.php

Last modified by YellowFox_RD on 2025/01/23 10:23

From version 1.1
edited by YellowFox_RD
on 2024/12/19 10:11
Change comment: Imported from XAR
To version 3.1
edited by YellowFox_RD
on 2025/01/23 10:23
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,26 +1,34 @@
1 1  (% class="box" %)
2 -(((Table of Contents)))
2 +(((
3 +Table of Contents
4 +)))
5 +
3 3  {{toc/}}
4 4  
5 5  This function returns a signature file (PNG), an uploaded picture/ photo (JPG) or a digital tachograph file (DDD).
9 +
6 6  = Description =
7 -**(% class="green mark" %)GET(%%) get_file.php?company**=//COMPANY_RTIKEY//**&vehicle**=//VEHICLE_RTIKEY//**&filename**=//MD5//
11 +
12 +(% class="green mark" %)**GET**(%%)** get_file.php?company**=//COMPANY_RTIKEY//**&vehicle**=//VEHICLE_RTIKEY//**&filename**=//MD5//
13 +
8 8  = Parameter =
9 9  
10 10  |=Parameter|=Description|=Type|=Note|=Mandatory
11 -|company|RTI company key|string||yes
17 +|company|RTI company key|string| |yes
12 12  |vehicle|RTI vehicle key|string|You have to send one of these parameters, vehicle, group or import!|yes
13 13  |group|RTI group key|string|You have to send one of these parameters, vehicle, group or import!|yes
14 14  |import|RTI import key(all vehicles)|string|You have to send one of these parameters, vehicle, group or import!|yes
15 -|filename|MD5 Hash|string|you get from **get_custom_form_data.php **or** get_file_list.php,**
16 -YellowFox-filename, not the original filename (field DID in get_file_list.php)**
17 -**|yes
21 +|filename|MD5 Hash|string|you get from **get_custom_form_data.php **or** get_file_list.php,**
22 +YellowFox-filename, not the original filename (field DID in get_file_list.php)|yes
18 18  |markdownload|0 - marks this file not as downloaded
19 19  1 - marks this file as downloaded|integer|0 is the standard|no
20 20  
21 21  = Return =
27 +
22 22  You get a PNG, a JPG or a DDD file for download. If not you get a error message "(% class="error" %)**ERROR:Description**(%%)".
23 -=== Error reponses ===
29 +
30 +== Error reponses ==
31 +
24 24  |=error|=description
25 25  |NO_FILE_FOUND|File not found.
26 26  |FILE_NOT_UPLOADED|File is in transmission. Please try again later.
... ... @@ -27,8 +27,9 @@
27 27  |NOT_SUPPORTED_FILETYPE|File type unknown. Please contact support.
28 28  
29 29  = Example call =
38 +
30 30  **example call for returning an image file**
31 -{{code language="java"}}https://map.yellowfox.de/rti/get_file.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&filename=1832c7a0a4aa71647523d1a75e4506da&markdownload=1
40 +\\{{code language="java"}}https://map.yellowfox.de/rti/get_file.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&filename=1832c7a0a4aa71647523d1a75e4506da&markdownload=1
32 32  
33 33  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{{/code}}
34 34