Erstellt einen Auftrag eine Auftragvorlage
Beschreibungorder_create_draft.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&customorderid=NR123XYZ&ordertext=Auftragstext ParameterParameter | Beschreibung | Typ | Hinweis | Pflicht |
---|
company | RTI Firmenschlüssel | string | | ja | import | RTI Importschlüssel | string | | ja | customorderid | eigene Auftragsnummer | string | max. 20 Zeichen (eigene Auftragsnummer wird nicht auf Duplikate geprüft) | ja | ordertext | Auftragstext | string | max. 500 Zeichen | ja | lat | Latitude des Navigationsziels | float | -90 bis +90 im Format WGS84 | nein | lon | Longitude des Navigationsziels | float | -180 bis +180 im Format WGS84 | nein | street | Straßenname des Navigationsziels | string | max. 100 Zeichen | nein | hnr | Hausnummer des Navigationsziels | string | max. 10 Zeichen | nein | zipcode | Postleitzahl des Navigationsziels | string | max. 10 Zeichen | nein | city | Stadt des Navigationsziels | string | max. 100 Zeichen | nein | country | Ländercode des Navigationsziels | string | max. 3 Zeichen | nein | target_time | Vorgabeankunftszeit | datestring | Format: YYYYMMDDHHMM verringert die maximale Anzahl der Zeichen des Auftragstextes um 15 Zeichen | nein | sortnumber | Sortiernummer | int | steht am Anfang des Auftragstextes in eckigen Klammern und verringert die Anzahl der Auftragstextzeichen | nein |
RückgabewerteEs wird ein string zurückgegeben. Bei Erfolg wird als Antwort "OK" zurückgegeben. Ansonsten wird ein "ERROR:Beschreibung" zurückgegeben Beispiele Code Block |
---|
| http://map.yellowfox.de/rti/order_create_draft.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&customorderid=NR1234&ordertext=Auftragstext |
Code Block |
---|
title | Beispiel 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 |
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 |