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

Hide last authors
YellowFox_RD 1.1 1 (% class="box" %)
Dominic Lippmann 2.1 2 (((Table of Contents)))
YellowFox_RD 1.1 3 {{toc/}}
4
Dominic Lippmann 2.1 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//
YellowFox_RD 1.1 8 = Parameter =
Dominic Lippmann 2.1 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:
YellowFox_RD 1.1 13 (((
Dominic Lippmann 2.1 14 * INITLOGBOOK = send logbook configuration
YellowFox_RD 1.1 15
Dominic Lippmann 2.1 16 * INITWORKTIME = send timerecording configuration
YellowFox_RD 1.1 17
Dominic Lippmann 2.1 18 * ORDERSTATE = send order state configuration
YellowFox_RD 1.1 19
Dominic Lippmann 2.1 20 * MESSAGEDRAFT = send message draft configuration
21 )))|yes
22 |language|language of configuration|string|supported languages for "INITLOGBOOK":
YellowFox_RD 1.1 23 (((
Dominic Lippmann 2.1 24 * deu = German (default)
25 * gbr = English
26 )))|no
YellowFox_RD 1.1 27
Dominic Lippmann 2.1 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**
YellowFox_RD 1.1 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
Dominic Lippmann 2.1 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}}
YellowFox_RD 1.1 35