Download OpenAPI specification:
API for external companies to submit tour plans containing orders. Delivery times use the Europe/Berlin timezone, including daylight saving time.
Submit orders for one company-owned daily plan. The bearer token identifies the company. All orders must have the same non-empty delivery date. The delivery date must be today or later in Europe/Berlin. Past dates return 423 without saving orders. Past company plans cannot be edited, shared, or finalized; their saved results remain readable. Finalized plans remain locked. Repeating a submission replaces all orders and invalidates the shared result, including when the payload is identical. Private drafts remain private. A plan number cannot change dates, and a date cannot be reassigned from another plan number or an existing Excel plan. These conflicts return 409.
| tourplan_nr required | string [ 1 .. 128 ] characters Stable tour plan identifier, unique within the authenticated company. |
required | Array of objects (Order) non-empty Orders associated with the tour plan. |
{- "tourplan_nr": "31288",
- "auftraege": [
- {
- "auftrags_nr": "615964",
- "konto": "14188",
- "kunde_bez": "Balk / Heise NEU",
- "adresse": "Friedensallee",
- "hausnummer": "2",
- "plz": "15834",
- "ort": "Rangsdorf",
- "auftrag_gewicht": 245.9,
- "abladedauer": "20",
- "fahrzeugpraeferenz": "1,2,3,4,5",
- "zustellbemerkung": "",
- "typ": "Lieferauftrag",
- "lieferdatum": "2026-10-05",
- "prioritaet": 100,
- "anlieferzeit_start": "08:00:00",
- "anlieferzeit_ende": "12:00:00"
}
]
}{- "tourplan_nr": "31288",
- "anzahl_auftraege": 1,
}Returns the latest company-shared saved routes, including manual changes. Private drafts are never returned. Replaced input has no result until a new calculation is shared. Finalized results remain readable.
| tourplan_nr required | string Example: 31288 |
{- "all_in": {
- "window_minutes": 0,
- "speed_percent": 0,
- "capacity_percent": 0
}, - "tourplan_nr": "31288",
- "datum": "2019-08-24",
- "erstellt_am": "2019-08-24T14:15:22Z",
- "status": "berechnet",
- "routen": [
- {
- "strecke_meter": 0,
- "fahrzeit_sekunden": 0,
- "fahrer": {
- "id": 0,
- "name": "string"
}, - "fahrzeug": {
- "id": 0,
- "name": "string",
- "kennzeichen": "string"
}, - "schritte": [
- {
- "typ": "start",
- "reihenfolge": 1,
- "ankunftszeit": "2026-09-15T08:30:00+02:00",
- "servicezeit_sekunden": 0,
- "wartezeit_sekunden": 0,
- "anschrift": {
- "adresse": "string",
- "hausnummer": "string",
- "ort": "string",
- "plz": "string"
}, - "auftraege": [
- {
- "auftrags_nr": "615964",
- "konto": "14188",
- "kunde_bez": "Balk / Heise NEU",
- "adresse": "Friedensallee",
- "hausnummer": "2",
- "plz": "15834",
- "ort": "Rangsdorf",
- "auftrag_gewicht": 245.9,
- "abladedauer": "20",
- "fahrzeugpraeferenz": "1,2,3,4,5",
- "zustellbemerkung": "",
- "typ": "Lieferauftrag",
- "lieferdatum": "2026-10-05",
- "prioritaet": 100,
- "anlieferzeit_start": "08:00:00",
- "anlieferzeit_ende": "12:00:00"
}
]
}
]
}
], - "nicht_zugewiesene_auftraege": [
- {
- "auftrags_nr": "615964",
- "konto": "14188",
- "kunde_bez": "Balk / Heise NEU",
- "adresse": "Friedensallee",
- "hausnummer": "2",
- "plz": "15834",
- "ort": "Rangsdorf",
- "auftrag_gewicht": 245.9,
- "abladedauer": "20",
- "fahrzeugpraeferenz": "1,2,3,4,5",
- "zustellbemerkung": "",
- "typ": "Lieferauftrag",
- "lieferdatum": "2026-10-05",
- "prioritaet": 100,
- "anlieferzeit_start": "08:00:00",
- "anlieferzeit_ende": "12:00:00"
}
]
}