Wiki source code of set_device.asp
Last modified by YellowFox_RD on 2024/12/19 10:11
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | (% class="box" %) | ||
2 | (((Table of Contents))) | ||
3 | {{toc/}} | ||
4 | |||
5 | (% class="red mark" %)DEPRECATED(%%) | ||
6 | Set display configuration. The settings must be created in advance in the portal. | ||
7 | |||
8 | = Beschreibung = | ||
9 | //**(% class="blue mark" %)POST(%%) set_device.asp?company**=//COMPANY_RTIKEY//**&vehicle**=//VEHICLE_RTIKEY//**&action**=ACTION**&language**=gbr// | ||
10 | = Parameter = | ||
11 | |=Parameter|=Description|=Type|=Note|=Mandatory | ||
12 | |company|RTI company key|string||yes | ||
13 | |vehicle|RTI vehicle key|string||yes | ||
14 | |action|action to be performed|string|supported values: | ||
15 | ((( | ||
16 | * INITLOGBOOK = send logbook configuration | ||
17 | |||
18 | * INITWORKTIME = send timerecording configuration | ||
19 | |||
20 | * ORDERSTATE = send order state configuration | ||
21 | |||
22 | * MESSAGEDRAFT = send message draft configuration | ||
23 | )))|yes | ||
24 | |language|language of configuration|string|supported languages for "INITLOGBOOK" and "ORDERSTATE": | ||
25 | ((( | ||
26 | * deu = German(default) | ||
27 | * gbr = English | ||
28 | )))|no | ||
29 | |||
30 | = Return = | ||
31 | Return a **string**. A success message will be "**OK**". Otherwise it returns "(% class="error" %)**ERROR:Description**(%%)". | ||
32 | = Example call = | ||
33 | **send logbook configuration in English** | ||
34 | {{code language="java"}}https://map.yellowfox.de/rti/set_device.asp?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&action=INITLOGBOOK&language=gbr{{/code}} | ||
35 |