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