Wiki source code of vehicle_settings/set_device.php
Last modified by YellowFox_RD on 2024/12/19 10:11
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
1.1 | 1 | (% class="box" %) |
![]() |
2.1 | 2 | (((Table of Contents))) |
![]() |
1.1 | 3 | {{toc/}} |
4 | |||
![]() |
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// | ||
![]() |
1.1 | 8 | = Parameter = |
![]() |
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: | ||
![]() |
1.1 | 13 | ((( |
![]() |
2.1 | 14 | * INITLOGBOOK = send logbook configuration |
![]() |
1.1 | 15 | |
![]() |
2.1 | 16 | * INITWORKTIME = send timerecording configuration |
![]() |
1.1 | 17 | |
![]() |
2.1 | 18 | * ORDERSTATE = send order state configuration |
![]() |
1.1 | 19 | |
![]() |
2.1 | 20 | * MESSAGEDRAFT = send message draft configuration |
21 | )))|yes | ||
22 | |language|language of configuration|string|supported languages for "INITLOGBOOK": | ||
![]() |
1.1 | 23 | ((( |
![]() |
2.1 | 24 | * deu = German (default) |
25 | * gbr = English | ||
26 | )))|no | ||
![]() |
1.1 | 27 | |
![]() |
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** | ||
![]() |
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 | |||
![]() |
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}} |
![]() |
1.1 | 35 |