drivers

Update driver

Send only the fields to change.

patch/drivers/{id}

Request

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

Path parameters

idinteger required

Request body

first_namestring nullable
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 updated 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.