Click or drag to resize
POST /driver_unassignment
Print this page
Description

This service is used to unassign this driver from the selected vehicle. In the event that driver unassignment fails, an error response will be returned. Use null or empty string as the ID to unassign the driver from the currently assigned vehicle.

Request

The Request body is a JSON object with the following members:

Member Type Purpose
id string The integer identifier for the vehicle to be assigned to the authenticated driver.
timeOccurred string (optional) The ISO 8601 timestamp for when the driver assignment event occurred. If not provided, it is set by the server automatically.
Response

On success, the response body contains the JSON object that indicates the driver's unassignment:

MemberTypePurpose
idstringThe alphanumeric identifier for the vehicle from which this driver is now unassigned.
If the request fails, an Error Response is generated.