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

Show last authors
1 (% class="box" %)
2 (((Table of Contents)))
3 {{toc/}}
4
5 Sets display configurations for the given vehicle. The configurations must be added or edited at the portal if needed.
6 = Description =
7 //**(% class="green mark" %)GET(%%) //vehicle_settings/set_device.php//?company**=COMPANY_RTIKEY**&vehicle**=VEHICLE_RTIKEY**&action**=ACTION**&language**=gbr//
8 = Parameter =
9 |=Parameter|=Description|=Type|=Note|=Mandatory
10 |company|RTI company key|string||yes
11 |vehicle|RTI vehicle key|string||yes
12 |action|action to be performed|string|supported values:
13 (((
14 * INITLOGBOOK = send logbook configuration
15
16 * INITWORKTIME = send timerecording configuration
17
18 * ORDERSTATE = send order state configuration
19
20 * MESSAGEDRAFT = send message draft configuration
21 )))|yes
22 |language|language of configuration|string|supported languages for "INITLOGBOOK":
23 (((
24 * deu = German (default)
25 * gbr = English
26 )))|no
27
28 = Return =
29 Return a **string**. A success message will be "**OK**". Otherwise it returns "(% class="error" %)**ERROR:Description**(%%)".
30 = Example call =
31 **send logbook configuration in English**
32 {{code language="java"}}https://map.yellowfox.de/rti/vehicle_settings/set_device.php?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&action=INITLOGBOOK&language=gbr
33
34 https://map.yellowfox.de/rti/vehicle_settings/set_device.asp?company=COMPANY_RTIKEY&vehicle={"type":"car_ident","groupKey":"GROUP_RTIKEY","ident":"VEHICLE_IDENT"}&action=INITLOGBOOK&language=gbr{{/code}}
35