Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Sv translation
languagede

Erstellt eine Auftragvorlage

Beschreibung

order_create_draft.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&customorderid=NR123XYZ&ordertext=Auftragstext

Parameter

ParameterBeschreibungTypHinweisPflicht
companyRTI Firmenschlüsselstring ja
importRTI Importschlüsselstring ja
customorderideigene Auftragsnummerstringmax. 20 Zeichen (eigene Auftragsnummer wird nicht auf Duplikate geprüft)

ja

ordertextAuftragstextstring

max. 500 Zeichen

ja
latLatitude des Navigationszielsfloat-90 bis +90 im Format WGS84nein
lonLongitude des Navigationszielsfloat-180 bis +180 im Format WGS84nein
streetStraßenname des Navigationszielsstringmax. 100 Zeichennein
hnrHausnummer des Navigationszielsstringmax. 10 Zeichennein
zipcodePostleitzahl des Navigationszielsstringmax. 10 Zeichennein
cityStadt des Navigationszielsstringmax. 100 Zeichennein
countryLändercode des Navigationszielsstringmax. 3 Zeichennein
target_timeVorgabeankunftszeitdatestring

Format: YYYYMMDDHHMM

verringert die maximale Anzahl der Zeichen des Auftragstextes um 15 Zeichen

nein
sortnumberSortiernummerint

steht am Anfang des Auftragstextes in eckigen Klammern und

verringert die Anzahl der Auftragstextzeichen

nein

Rückgabewerte

Es wird ein string zurückgegeben. Bei Erfolg wird als Antwort "OK" zurückgegeben. Ansonsten wird ein "ERROR:Beschreibung" zurückgegeben

Beispiele

Code Block
titleEinfacher Auftrag
http://map.yellowfox.de/rti/order_create_draft.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&customorderid=NR1234&ordertext=Auftragstext
Code Block
titleBeispiel mit Navigationsziel und Zielankunftszeit
http://map.yellowfox.de/rti/order_create_draft.php?company=COMPANY_RTIKEY&import=IMPORT_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 Block
titleBeispiel mit Navigationsziel + Formular + Sortiernummer + Textlayout
http://map.yellowfox.de/rti/do_order
_create_draft
.php?company=COMPANY_RTIKEY&
import
vehicle=
IMPORT
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
Sv translation
languageen

Ceates an order

Description

order_create_draft.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&customorderid=NR123XYZ&ordertext=Auftragstext&lat=51.0374&lon=13.587813

Parameter

ParameterDescriptionTypeNoteMandatory
companyRTI company keystring yes
customorderidown order numberstringmax. 20 chars (will not be checked for duplicates)

yes

ordertextorder textstring

max. 500 chars (CE Display, Tablet)

max. 200 chars (all other displays)

yes
importRTI import keystring yes
latLatitude of navigation targetfloat-90 to +90 in WGS84 format no
lonLongitude of navigation targetfloat-180 to +180 in WGS84 format yes 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 timedatestring

Format: YYYYMMDDHHMM

reduces maximum char count of order text down by 15 chars

no
sortnumbersort numberint

Will be written in front of the order text in brackets. Reduces the max char count of order text.

no

Return

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

Examples

Code Block
titleSimple order
http://map.yellowfox.de/rti/order_create_draft.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&customorderid=NR1234&ordertext=Auftragstext
Code Block
titleExample with navigation target and target time
http://map.yellowfox.de/rti/order_create_draft.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&customorderid=NR1234&ordertext=Auftragstext&lat=51.0374&lon=13.587813&street=Hauptstr&hnr=3&zipcode=01723&city=Kesselsdorf&country=D&target_time=201411310800

 

http://map.yellowfox.de/rti/order_create_draft.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&customorderid=NR1234&ordertext=Auftragstext&lat=51.0374&lon=13.587813&street=Hauptstr&hnr=3&zipcode=01723&city=Kesselsdorf&country=D&sortnumber=1