Wiki source code of set_device.asp

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
5 (% class="red mark" %)DEPRECATED(%%)
Dominic Lippmann 2.1 6 Set display configuration. The settings must be created in advance in the portal.
7
YellowFox_RD 1.1 8 = Beschreibung =
Dominic Lippmann 2.1 9 //**(% class="blue mark" %)POST(%%) set_device.asp?company**=//COMPANY_RTIKEY//**&vehicle**=//VEHICLE_RTIKEY//**&action**=ACTION**&language**=gbr//
YellowFox_RD 1.1 10 = Parameter =
Dominic Lippmann 2.1 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:
YellowFox_RD 1.1 15 (((
Dominic Lippmann 2.1 16 * INITLOGBOOK = send logbook configuration
YellowFox_RD 1.1 17
Dominic Lippmann 2.1 18 * INITWORKTIME = send timerecording configuration
YellowFox_RD 1.1 19
Dominic Lippmann 2.1 20 * ORDERSTATE = send order state configuration
YellowFox_RD 1.1 21
Dominic Lippmann 2.1 22 * MESSAGEDRAFT = send message draft configuration
23 )))|yes
24 |language|language of configuration|string|supported languages for "INITLOGBOOK" and "ORDERSTATE":
YellowFox_RD 1.1 25 (((
Dominic Lippmann 2.1 26 * deu = German(default)
27 * gbr = English
28 )))|no
YellowFox_RD 1.1 29
Dominic Lippmann 2.1 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**
YellowFox_RD 1.1 34 {{code language="java"}}https://map.yellowfox.de/rti/set_device.asp?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&action=INITLOGBOOK&language=gbr{{/code}}
35