Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sv translation
languageen

Ceates an order draft

Description

Status
colourBlue
titlePOST
 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

Example calls

Code Block
titleSimple order
https://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
https://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
titleExample with navigation target + sort number
https://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