try out ↗

← API Index


/api/driver/locate1

Last known driver positions. A driver gets the latest position of every active tour; a regular authenticated customer gets the single position of the tour currently delivering to them.

Parameters

Name Description Type
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, or no current tour exists for the caller

Response Types

Type Version Description
DriverPosition 1 Last known position of a driver on a tour

OpenAPI

See locate1.yaml

Referenced in skills