Back to index

DeassignDriverFromVehicle

This method assigns a driver to a vehicle.

Parameters:

[in] usn The user-name that you need to use to authenticate on this interface.
[in] pwd The password that you need to use to authenticate on this interface.
[out] errorMsg If an error happens this string contains the error message. In case an error has happened (this variable contains a valid non-empty string) then the return value will not contain any usable data, do not try to parse it as an xml.
[in] options String parameter. This is currently unused and reserved for future versions of the API. Pass in an empty string.
[in] driverId Integer parameter. The ID of the driver to be de-assigned.
[in] vehicleId Integer parameter. The ID of the vehicle to which the driver is currently assigned.
return value If the method succeeds, true is returned; otherwise false is returned and the errorMsg variable contains further information on the cause of the failure

Remarks

See also: AssignDriverToVehicle

Minimum R-COM Database version

0.1953

Error messages

Please see this page.