drivers

Create driver

Driver schedules, start and end points and work areas are stored with the driver. The current optimizer plans from the fleet and does not apply them as routing constraints. Returns 403 with reason: "max_drivers" when the plan's cap is reached.

post/drivers

Request

  • Base URL: https://api.vepathos.com
  • URL: https://api.vepathos.com/drivers
  • Auth: API key in header Authorization

Request body

first_namestring required
last_namestring nullable
work_schedulesstring[] nullable

Working hours. RFC 5545 VEVENT: DTSTART plus DTEND or DURATION, optionally RRULE. Join lines with \n.

start_pointstring nullable

Where the driver starts the day. Coordinates in ISO 6709 decimal degrees, latitude then longitude with signs, e.g. +40.7128-74.0060.

end_pointstring nullable

Where the driver ends the day. Coordinates in ISO 6709 decimal degrees, latitude then longitude with signs, e.g. +40.7128-74.0060.

Response

The created driver.

first_namestring required
last_namestring nullable
work_schedulesstring[] nullable

Working hours. RFC 5545 VEVENT: DTSTART plus DTEND or DURATION, optionally RRULE. Join lines with \n.

start_pointstring nullable

Where the driver starts the day. Coordinates in ISO 6709 decimal degrees, latitude then longitude with signs, e.g. +40.7128-74.0060.

end_pointstring nullable

Where the driver ends the day. Coordinates in ISO 6709 decimal degrees, latitude then longitude with signs, e.g. +40.7128-74.0060.

Changes

No recorded changes to this operation across all 1 revision of this API.