PUT /drivers/create
Creates a new RowDriver record for the given Driver data.
Roles that can access this endpoint are Users.
Parameters
| name |
description |
type |
default |
type |
| driver |
the data to use when creating the new driver |
body of type: application/xml application/json
|
|
RowDriver
|
Result
RowDriver
of type:
application/xml
application/json
the created RowDriver record
__returnHomeFlagDescr This value represents the description of the return home flag, found in the driver.return_home_flag field.
__sexDescr This value represents the description of the driver's sex, found in the driver.sex field.
__teamStatusDescr This value represents the description of the driver's team status, found in the driver.team_status field.
__typeOfDescr This value represents the description of the driver type, found in the driver.type_of field.
Child Elements:
RowLocation This element represent the location associated with the driver's home location, by the driver.home_location_id field.
The element contains a __name attribute with the value homeLocation.
RowUsers This element represent the fleet manager user associated with the driver by the driver.fleet_manager field.
The element contains a __name attribute with the value fleetManager.
RowDriverLane These elements represent the lane exclusions associated with the driver.
The element contains a __name attribute with the value lanes.
Try It Out
Request