You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

Ceates an order draft

Description

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

Parameter

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

yes

ordertextorder textstring

max. 500 chars

yes
latLatitude of navigation targetfloat-90 to +90 in WGS84 format no
lonLongitude of navigation targetfloat-180 to +180 in WGS84 format no
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
customername1Customer Name 1stringmax. 100 chars (will be displayed only on Fleet V3)no
customername2Customer Name 2stringmax. 100 chars (will be displayed only on Fleet V3)no
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

Simple order
http://map.yellowfox.de/rti/order_create_draft.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&customorderid=NR1234&ordertext=Auftragstext
Example 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
Example with navigation target + sort number
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
  • No labels