Wiki source code of do_order.asp

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

Show last authors
1 (% class="box" %)
2 (((Table of Contents)))
3 {{toc/}}
4
5 (% class="red mark" %)DEPRECATED(%%)
6 Ceates a order and sends it to the vehicle.
7 = Description =
8 **do_order.asp****?company**=//COMPANY_RTIKEY//**&vehicle**=//VEHICLE_RTIKEY//**&customorderid**=//NR123XYZ//**&order****text**=//Auftragstext&**lat**=51.0374&**lon**=13.587813//
9 = Parameter =
10 |=Parameter|=Description|=Type|=Note|=Mandatory
11 |company|RTI company key|string||yes
12 |customorderid|own order number|string|max. 20 chars (will not be checked for duplicates)|yes
13 |ordertext|order text|string|max. 500 chars (CE Display, Tablet)
14 max. 200 chars (all other displays)|yes
15 |vehicle|RTI vehicle key|string||yes
16 |lat|Latitude of navigation target|float|-90 to +90 in WGS84 format|yes for Garmin displays
17 |lon|Longitude of navigation target|float|-180 to +180 in WGS84 format|yes for Garmin displays
18 |street|street name of navigation target|string|max. 100 chars|no
19 |hnr|house number of navigation target|string|max. 10 chars|no
20 |zipcode|zipcode of navigation target|string|max. 10 chars|no
21 |city|city of navigation target|string|max. 100 chars|no
22 |country|country code of navigation target|string|max. 3 chars|no
23 |target_time|target arrival time|datestring|Format: YYYYMMDDHHMM
24 reduces maximum char count of order text down by 15 chars|no
25 |sortnumber|sort number|int|Will be written in front of the order text in brackets. Reduces the max char count of order text.|no
26 |formname|name of customer formular which will be opened after conclusion of the order|string|max. 20 chars (available for CE Displays at Version 1.1.67 and Tablets)
27 (% class="box" %)
28 (((
29 **Attention
30 **Form must be [[configured>>doc:YellowFox Standard Portal.Verwaltung.Display Konfiguration.Konfiguration benutzerdefinierte Formulare.WebHome]]!
31 )))|no
32 |textlayout|layout of order text at display|int|(((
33 * 0 = [sort number][addresstext][target time]order text (default)
34 * 1 = [sort number]order text[addresstext][target time ] (only for Garmin displays)
35 * 2 = [sort number][target time][addresstext]order text(only for Garmin displays)
36 )))
37 (% class="box" %)
38 (((
39 **Attention
40 **sort number, order text and target time must be given if these values should be transmitted
41 )))|no
42
43 = Return =
44 A string **string** will be returned. If the request was successful "**OK**". If the request failed "(% class="error" %)**ERROR:Description**(%%)".
45 = Examples =
46 **Simple order**
47 {{code language="java"}}https://map.yellowfox.de/rti/do_order.asp?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&customorderid=NR1234&ordertext=Auftragstext{{/code}}
48
49 **Example with navigation target and target time**
50 {{code language="java"}}https://map.yellowfox.de/rti/do_order.asp?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&customorderid=NR1234&ordertext=Auftragstext&lat=51.0374&lon=13.587813&street=Hauptstr&hnr=3&zipcode=01723&city=Kesselsdorf&country=D&target_time=201411310800{{/code}}
51
52 **Example with navigation target + form + sort number + textlayout**
53 {{code language="java"}}https://map.yellowfox.de/rti/do_order.asp?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&customorderid=NR1234&ordertext=Auftragstext&lat=51.0374&lon=13.587813&street=Hauptstr&hnr=3&zipcode=01723&city=Kesselsdorf&country=D&sortnumber=1&formname=Abholung&textlayout=2{{/code}}
54