try out ↗

← API Index


/api/driver/reorder1

Hand over a re-ordered tour position sequence. Each entry of pos is a triple of customer ids [before, moved, after]; a missing first or last element means the customer was moved to the very start or end of the tour.

Parameters

Name Description Type
pos reorder information, e.g. [[,id1,id2],[id3,id4,id5]] string
ddate delivery date id (ddates.id) to resolve the tour int
dt timestamp as ISO8601 datetime; defaults to now string
dupcheck uuid guarding against duplicate submissions; a repeated uuid returns result reorderduplicate string
oo-rf optionally define the response-format for this call. One of: compact (default) | compacts | full | fulls | json | md | html | js | openapi | yaml String
oo-auth optionally force the API to check against the role (instead of silently not returning data). For guests or public access, the default is -1. 0 (regular customer) and above define the role for which the current session is expected to be authorized. int

Error Responses

HTTP Status Error Code Description
403 access_error Not authenticated as driver
400 parameter_error Missing pos data

Response Types

Type Version Description
DriverActionResult 1 Acknowledgement of a driver action

OpenAPI

See reorder1.yaml

Referenced in skills