do_order.asp

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

Table of Contents

DEPRECATED
Ceates a order and sends it to the vehicle.

Description

do_order.asp?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&customorderid=NR123XYZ&ordertext=Auftragstext&lat=51.0374&lon=13.587813

Parameter

ParameterDescriptionTypeNoteMandatory
companyRTI company keystringyes
customorderidown order numberstringmax. 20 chars (will not be checked for duplicates)yes
ordertextorder textstringmax. 500 chars (CE Display, Tablet)
max. 200 chars (all other displays)
yes
vehicleRTI vehicle keystringyes
latLatitude of navigation targetfloat-90 to +90 in WGS84 formatyes for Garmin displays
lonLongitude of navigation targetfloat-180 to +180 in WGS84 formatyes for Garmin displays
streetstreet name of navigation targetstringmax. 100 charsno
hnrhouse number of navigation targetstringmax. 10 charsno
zipcodezipcode of navigation targetstringmax. 10 charsno
citycity of navigation targetstringmax. 100 charsno
countrycountry code of navigation targetstringmax. 3 charsno
target_timetarget arrival timedatestringFormat: YYYYMMDDHHMM
reduces maximum char count of order text down by 15 chars
no
sortnumbersort numberintWill be written in front of the order text in brackets. Reduces the max char count of order text.no
formnamename of customer formular which will be opened after conclusion of the orderstringmax. 20 chars (available for CE Displays at Version 1.1.67 and Tablets)

Attention
Form must be configured!

no
textlayoutlayout of order text at displayint
  • 0 = [sort number][addresstext][target time]order text (default)
  • 1 = [sort number]order text[addresstext][target time ] (only for Garmin displays)
  • 2 = [sort number][target time][addresstext]order text(only for Garmin displays)

Attention
sort number, order text and target time must be given if these values should be transmitted

no

Return

A string string will be returned. If the request was successful "OK". If the request failed "ERROR:Description".

Examples

Simple order
https://map.yellowfox.de/rti/do_order.asp?company=COMPANY_RTIKEY&vehicle=VEHICLE_RTIKEY&customorderid=NR1234&ordertext=Auftragstext

Example with navigation target and target time
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

Example with navigation target + form + sort number + textlayout
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